pub enum PanicWhen {
Debug,
Release,
DebugAndRelease,
}Expand description
Defines the configurations when a test can panic.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PanicWhen
impl RefUnwindSafe for PanicWhen
impl Send for PanicWhen
impl Sync for PanicWhen
impl Unpin for PanicWhen
impl UnsafeUnpin for PanicWhen
impl UnwindSafe for PanicWhen
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