Function thrussh::client::connect_stream [−][src]
pub async fn connect_stream<H, R>(
config: Arc<Config>,
stream: R,
handler: H
) -> Result<Handle<H>, H::Error> where
H: Handler + Send + 'static,
R: AsyncRead + AsyncWrite + Unpin + Send + 'static,