Enum test::test::ShouldPanic [−][src]
pub enum ShouldPanic {
No,
Yes,
YesWithMessage(&'static str),
}🔬 This is a nightly-only experimental API. (
test)Expand description
Whether test is expected to panic or not
Variants
🔬 This is a nightly-only experimental API. (
test)🔬 This is a nightly-only experimental API. (
test)YesWithMessage(&'static str)🔬 This is a nightly-only experimental API. (
test)Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ShouldPanicimpl Send for ShouldPanicimpl Sync for ShouldPanicimpl Unpin for ShouldPanicimpl UnwindSafe for ShouldPanicBlanket Implementations
Mutably borrows from an owned value. Read more