pub struct OverrideGuard { /* private fields */ }Expand description
RAII guard that removes an override when dropped.
Do not leak this guard - it must be dropped to restore the previous state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OverrideGuard
impl RefUnwindSafe for OverrideGuard
impl !Send for OverrideGuard
impl !Sync for OverrideGuard
impl Unpin for OverrideGuard
impl UnsafeUnpin for OverrideGuard
impl UnwindSafe for OverrideGuard
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