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)>
Returns 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 UnsafeUnpin 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