pub struct EnterGuard;Expand description
RAII guard returned by enter; decrements the reentrancy depth on drop.
Trait Implementations§
Source§impl Drop for EnterGuard
impl Drop for EnterGuard
Auto Trait Implementations§
impl Freeze for EnterGuard
impl RefUnwindSafe for EnterGuard
impl Send for EnterGuard
impl Sync for EnterGuard
impl Unpin for EnterGuard
impl UnsafeUnpin for EnterGuard
impl UnwindSafe for EnterGuard
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