Enum wolfssl::NewSessionError
source · pub enum NewSessionError {
CreateFailed,
SetupFailed(&'static str, Error),
}Expand description
Error creating a Session object.
Variants§
CreateFailed
wolfSSL_new failed
SetupFailed(&'static str, Error)
A setup operation on the WolfSSL Session
Trait Implementations§
source§impl Debug for NewSessionError
impl Debug for NewSessionError
source§impl Display for NewSessionError
impl Display for NewSessionError
source§impl Error for NewSessionError
impl Error for NewSessionError
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 Freeze for NewSessionError
impl RefUnwindSafe for NewSessionError
impl Send for NewSessionError
impl Sync for NewSessionError
impl Unpin for NewSessionError
impl UnwindSafe for NewSessionError
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