Enum blaze_ssl_async::stream::BlazeError
source · pub enum BlazeError {
IO(Error),
Alert(AlertDescription),
Stopped,
}Expand description
Error implementation for different errors that can occur while handshaking and general operation
Variants§
Trait Implementations§
source§impl Debug for BlazeError
impl Debug for BlazeError
source§impl Display for BlazeError
impl Display for BlazeError
source§impl Error for BlazeError
impl Error for BlazeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for BlazeError
impl Send for BlazeError
impl Sync for BlazeError
impl Unpin for BlazeError
impl !UnwindSafe for BlazeError
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