pub trait TuiRpc: Send + Sync {
Show 17 methods
// Required methods
fn connect<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 ConnectRequest,
) -> Pin<Box<dyn Future<Output = Result<ConnectResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn disconnect<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_window<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<WindowInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn close_window<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_windows<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<WindowList>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn focus_window<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn split_pane<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 SplitRequest,
) -> Pin<Box<dyn Future<Output = Result<PaneInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn close_pane<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn focus_pane<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn snapshot<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<TuiSnapshot>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn resize<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 ResizeRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn send_input<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 SendInputRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn spawn_shell<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 SpawnShellRequest,
) -> Pin<Box<dyn Future<Output = Result<SpawnShellResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn poll_stdin<'life0, 'async_trait>(
&'life0 self,
value: u32,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn spawn_chrome_shell<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 SpawnChromeShellRequest,
) -> Pin<Box<dyn Future<Output = Result<SpawnShellResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn spawn_chat_app<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 SpawnChatAppRequest,
) -> Pin<Box<dyn Future<Output = Result<SpawnShellResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn create_private_pane<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 CreatePrivatePaneRequest,
) -> Pin<Box<dyn Future<Output = Result<u32>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Generated RPC trait for the Tui service.