pub struct DoesPanic {
pub expected_message: Option<String>,
pub actual_message: Option<String>,
}Available on crate feature
panic only.Fields§
§expected_message: Option<String>§actual_message: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DoesPanic
impl RefUnwindSafe for DoesPanic
impl Send for DoesPanic
impl Sync for DoesPanic
impl Unpin for DoesPanic
impl UnsafeUnpin for DoesPanic
impl UnwindSafe for DoesPanic
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