pub fn connect<Buffer, Q, Auxiliary>(
queue: Q,
auxiliary: Auxiliary,
) -> Result<WriteEnd<Buffer, Q, Auxiliary>, Error>
Expand description
Initialize connection to remote sftp server and
negotiate the sftp version.
User of this function must manually create ReadEnd
and manually flush the buffer.
ยงCancel Safety
This function is not cancel safe.
After dropping the future, the connection would be in a undefined state.