Skip to main content

RemoteShellHandler

Type Alias RemoteShellHandler 

Source
pub type RemoteShellHandler = Arc<dyn Fn(Value, RpcContext, UnboundedReceiver<Vec<u8>>, UnboundedSender<RemoteShellOut>) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>;
Expand description

Remote-shell handler. Receives an inbound receiver of stdin byte chunks and an outbound sender for RemoteShellOut { stream, data } records; the runtime preserves the stream tag end-to-end.

Aliased Typeยง

pub struct RemoteShellHandler { /* private fields */ }