pub struct ErrorSource(/* private fields */);Expand description
The lower-level source of Error.
NOTE: we don’t implement core::error::Error for ErrorSource.
Trait Implementations§
Source§impl Debug for ErrorSource
impl Debug for ErrorSource
Source§impl Display for ErrorSource
impl Display for ErrorSource
Source§impl From<&'static str> for ErrorSource
impl From<&'static str> for ErrorSource
Source§impl From<String> for ErrorSource
impl From<String> for ErrorSource
Source§impl IntoErrorSource for ErrorSource
impl IntoErrorSource for ErrorSource
Source§fn into_error_source(self) -> ErrorSource
fn into_error_source(self) -> ErrorSource
Converts the error into an error source.
Auto Trait Implementations§
impl Freeze for ErrorSource
impl RefUnwindSafe for ErrorSource
impl Send for ErrorSource
impl Sync for ErrorSource
impl Unpin for ErrorSource
impl UnsafeUnpin for ErrorSource
impl UnwindSafe for ErrorSource
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.