pub struct QuietFlag { /* private fields */ }
Expand description
A DropFlag
source that doesn’t do anything with it.
This is similar to TrappedFlag
, but where it does not abort the program
if used incorrectly. This type is generally only useful when some separate
mechanism is ensuring that invariants are not violated.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for QuietFlag
impl !RefUnwindSafe for QuietFlag
impl Send for QuietFlag
impl !Sync for QuietFlag
impl Unpin for QuietFlag
impl UnwindSafe for QuietFlag
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