pub enum CauseKind {
CausedBy,
DuringHandling,
}Expand description
How a trace relates to its StackTrace::cause.
Variants§
CausedBy
The cause led to this error (Python’s raise … from, Java’s
Caused by:, JavaScript’s [cause]).
DuringHandling
This error was raised while handling the cause (Python’s implicit chaining).
Trait Implementations§
impl Copy for CauseKind
impl Eq for CauseKind
impl StructuralPartialEq for CauseKind
Auto Trait Implementations§
impl Freeze for CauseKind
impl RefUnwindSafe for CauseKind
impl Send for CauseKind
impl Sync for CauseKind
impl Unpin for CauseKind
impl UnsafeUnpin for CauseKind
impl UnwindSafe for CauseKind
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.