Lines Matching defs:error
64 use crate::error::ErrorStack;
74 use crate::ssl::error::InnerError;
108 pub use crate::ssl::error::{Error, ErrorCode, HandshakeError};
113 mod error;
298 /// By default, OpenSSL will return a `WantRead` error after a renegotiation or heartbeat.
565 /// An error returned from the SNI callback.
590 /// An error returned from an ALPN selection callback.
621 /// Return from the handshake with an `ErrorCode::WANT_CLIENT_HELLO_CB` error.
3399 error: Error,
3418 /// Returns the underlying error which interrupted this handshake.
3419 pub fn error(&self) -> &Error {
3420 &self.error
3423 /// Consumes `self`, returning its error.
3425 self.error
3441 Err(error) => {
3442 self.error = error;
3443 match self.error.code() {
3642 /// It is particularly useful with a non-blocking socket, where the error value will identify if
3648 // that it read zero bytes, but zero is also the sentinel for "error".
3665 /// It is particularly useful with a non-blocking socket, where the error value will identify if
3905 Err(error) => match error.code() {
3909 error,
3914 error,
3924 Err(error) => match error.code() {
3928 error,
3933 error,
3949 Err(error) => match error.code() {
3953 error,
3958 error,