Skip to main content

Module channel_stream

Module channel_stream 

Source
Expand description

Async stream adapter for SSH channels

Bridges a russh::Channel<Msg> into a standard DuplexStream that implements AsyncRead + AsyncWrite, usable anywhere that expects a tokio async stream.

Functionsยง

channel_to_stream
Create a bidirectional async stream from an SSH channel.