Enum wolfssl::NewContextBuilderError
source · pub enum NewContextBuilderError {
InitFailed(Error),
MethodFailed,
CreateFailed,
}Expand description
Error creating a ContextBuilder object.
Variants§
InitFailed(Error)
Failed to initialize WolfSSL
MethodFailed
Failed to turn Method into a wolfssl_sys::WOLFSSL_METHOD
CreateFailed
wolfSSL_CTX_new failed
Trait Implementations§
source§impl Debug for NewContextBuilderError
impl Debug for NewContextBuilderError
source§impl Display for NewContextBuilderError
impl Display for NewContextBuilderError
source§impl Error for NewContextBuilderError
impl Error for NewContextBuilderError
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 NewContextBuilderError
impl RefUnwindSafe for NewContextBuilderError
impl Send for NewContextBuilderError
impl Sync for NewContextBuilderError
impl Unpin for NewContextBuilderError
impl UnwindSafe for NewContextBuilderError
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