pub struct FailGuard(/* private fields */);
Expand description
Configure fail point in RAII style.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FailGuard
impl RefUnwindSafe for FailGuard
impl Send for FailGuard
impl Sync for FailGuard
impl Unpin for FailGuard
impl UnwindSafe for FailGuard
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