[][src]Function thrussh::client::connect_stream

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,