pub struct ErrorStack(/* private fields */);
Expand description
Collection of Error
s from OpenSSL.
Implementations§
Source§impl ErrorStack
impl ErrorStack
Sourcepub fn get() -> ErrorStack
pub fn get() -> ErrorStack
Returns the contents of the OpenSSL error stack.
Trait Implementations§
Source§impl Clone for ErrorStack
impl Clone for ErrorStack
Source§fn clone(&self) -> ErrorStack
fn clone(&self) -> ErrorStack
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorStack
impl Debug for ErrorStack
Source§impl Display for ErrorStack
impl Display for ErrorStack
Source§impl Error for ErrorStack
impl Error for ErrorStack
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()
Source§impl From<ErrorStack> for Error
impl From<ErrorStack> for Error
Source§fn from(e: ErrorStack) -> Error
fn from(e: ErrorStack) -> Error
Converts to this type from the input type.
Source§impl<S> From<ErrorStack> for HandshakeError<S>
impl<S> From<ErrorStack> for HandshakeError<S>
Source§fn from(e: ErrorStack) -> HandshakeError<S>
fn from(e: ErrorStack) -> HandshakeError<S>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ErrorStack
impl RefUnwindSafe for ErrorStack
impl Send for ErrorStack
impl Sync for ErrorStack
impl Unpin for ErrorStack
impl UnwindSafe for ErrorStack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)