pub struct Error<'a> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Error for Error<'_>
impl Error for Error<'_>
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<'a> From<Error> for Error<'a>
impl<'a> From<Error> for Error<'a>
Source§fn from(e: FormatterError) -> Error<'a>
fn from(e: FormatterError) -> Error<'a>
Converts to this type from the input type.
Source§impl<'a> Traceback for Error<'a>
impl<'a> Traceback for Error<'a>
fn message(&self) -> String
fn with(&self, caller: Caller) -> Self
fn callers(&self) -> Vec<Caller>
fn callers_to_string(&self, indent: usize) -> String
fn highlight_message(&self) -> String
fn previous_as_debug(&self) -> String
fn previous_as_string(&self) -> String
impl<'a> Eq for Error<'a>
impl<'a> StructuralPartialEq for Error<'a>
Auto Trait Implementations§
impl<'a> Freeze for Error<'a>
impl<'a> RefUnwindSafe for Error<'a>
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnwindSafe for Error<'a>
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.