pub async fn connect<Buffer: ToBuffer + Debug + Send + Sync + 'static>(
    reader: PipeRead,
    writer: PipeWrite
) -> Result<(WriteEnd<Buffer>, ReadEnd<Buffer>, Extensions), Error>
Expand description

Initialize connection to remote sftp server and negotiate the sftp version.