pub enum SslHandshakeError {
Timeout,
Disconnected,
Unexpected(Error),
}Expand description
Errors that can occur during the handshake process
Variants§
Timeout
A timeout occurred
Disconnected
The connection was disconnected
Unexpected(Error)
An unexpected error
Trait Implementations§
Source§impl Debug for SslHandshakeError
impl Debug for SslHandshakeError
Source§impl From<SslHandshakeError> for FrameIoError
impl From<SslHandshakeError> for FrameIoError
Source§fn from(value: SslHandshakeError) -> Self
fn from(value: SslHandshakeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SslHandshakeError
impl !RefUnwindSafe for SslHandshakeError
impl Send for SslHandshakeError
impl Sync for SslHandshakeError
impl Unpin for SslHandshakeError
impl UnsafeUnpin for SslHandshakeError
impl !UnwindSafe for SslHandshakeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more