pub trait IntoSftpStream {
type Stream: AsyncRead + AsyncWrite + Unpin + Send + Sync + 'static;
// Required method
fn into_sftp_stream<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::Stream, Error>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
Convert the object to a SSH channel