pub struct DoesNotPanic {
pub actual_message: Option<Box<dyn Any + Send>>,
}Available on crate feature
panic only.Fields§
§actual_message: Option<Box<dyn Any + Send>>Trait Implementations§
Source§impl<S> Expectation<Code<S>> for DoesNotPanicwhere
S: FnOnce(),
impl<S> Expectation<Code<S>> for DoesNotPanicwhere
S: FnOnce(),
Auto Trait Implementations§
impl Freeze for DoesNotPanic
impl !RefUnwindSafe for DoesNotPanic
impl Send for DoesNotPanic
impl !Sync for DoesNotPanic
impl Unpin for DoesNotPanic
impl UnsafeUnpin for DoesNotPanic
impl !UnwindSafe for DoesNotPanic
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