pub enum BugKind {
Panic,
Found,
}Expand description
How a bug showed itself (E15).
Variants§
Panic
Work panicked. The process’s panic hook saw the panic begin, so an app whose own hook reports every panic has reported this one.
Found
Code found state its guarantee rules out, without a panic
(Bug::new). No hook saw it: whoever the bug reaches reports it.
Trait Implementations§
impl Copy for BugKind
impl Eq for BugKind
impl StructuralPartialEq for BugKind
Auto Trait Implementations§
impl Freeze for BugKind
impl RefUnwindSafe for BugKind
impl Send for BugKind
impl Sync for BugKind
impl Unpin for BugKind
impl UnsafeUnpin for BugKind
impl UnwindSafe for BugKind
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,
§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