pub enum SslError {
Write(Error),
Tls(Error),
NoOutput,
MissingStream,
}Expand description
The errors that can occur in ssl communication
Variants§
Write(Error)
An error writing ssl data
Tls(Error)
A write tls error
NoOutput
An empty packet was received
MissingStream
The ssl stream is missing
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SslError
impl !RefUnwindSafe for SslError
impl Send for SslError
impl Sync for SslError
impl Unpin for SslError
impl UnsafeUnpin for SslError
impl !UnwindSafe for SslError
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