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 From<ErrorStack> for Error
impl From<ErrorStack> for Error
source§fn from(_: ErrorStack) -> Error
fn from(_: ErrorStack) -> Error
Converts to this type from the input type.
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
)