Struct openssh_sftp_client::ReadEnd [−][src]
pub struct ReadEnd<Buffer: ToBuffer + 'static> { /* fields omitted */ }
Implementations
Precondition: self.wait_for_new_request()
must not be 0.
Return number of requests sent and number of responses to read in. Read 0 if the connection is closed.
You must call this function in a loop, break if this function returns
0, otherwise call read_in_one_packet
for n
times where n
in the
return value of this function, then repeat.