Lines Matching defs:read
302 /// Note that `SslStream::read` and `SslStream::write` will automatically retry regardless
824 /// Controls read ahead behavior.
826 /// If enabled, OpenSSL will read as much data as is available from the underlying stream,
902 /// These locations are read from the `SSL_CERT_FILE` and `SSL_CERT_DIR` environment variables
2317 fn read(&mut self, buf: &mut [u8]) -> c_int {
2670 /// If this is greater than 0, the next call to `read` will not call down to the underlying
3489 /// call to read or write. Otherwise the `connect` and `accept` methods can be used to
3526 /// Returns `Ok(0)` if all early data has been read.
3532 let mut read = 0;
3538 &mut read,
3543 ffi::SSL_READ_EARLY_DATA_SUCCESS => Ok(read),
3625 /// was read, in which case the handshake should be continued via
3640 /// Like `read`, but returns an `ssl::Error` rather than an `io::Error`.
3643 /// OpenSSL is waiting on read or write readiness.
3648 // that it read zero bytes, but zero is also the sentinel for "error".
3655 let ret = self.ssl.read(buf);
3666 /// OpenSSL is waiting on read or write readiness.
3783 /// It is inadvisable to read from or write to the underlying stream as it
3799 fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
3865 /// was read, in which case the handshake should be continued via
3970 /// Returns `Ok(0)` if all early data has been read.
4012 /// It is inadvisable to read from or write to the underlying stream as it