pub struct Error<O, E> {
pub error: E,
pub backtrace: Vec<O>,
}
Fields§
§error: E
§backtrace: Vec<O>
Trait Implementations§
source§impl<O: PartialEq, E: PartialEq> PartialEq for Error<O, E>
impl<O: PartialEq, E: PartialEq> PartialEq for Error<O, E>
impl<O: Eq, E: Eq> Eq for Error<O, E>
impl<O, E> StructuralEq for Error<O, E>
impl<O, E> StructuralPartialEq for Error<O, E>
Auto Trait Implementations§
impl<O, E> RefUnwindSafe for Error<O, E>where
E: RefUnwindSafe,
O: RefUnwindSafe,
impl<O, E> Send for Error<O, E>
impl<O, E> Sync for Error<O, E>
impl<O, E> Unpin for Error<O, E>
impl<O, E> UnwindSafe for Error<O, E>where
E: UnwindSafe,
O: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.