pub struct DepthLock { /* private fields */ }Expand description
Depth lock holds a reference on the depth gauge. The drop ensures impl that the reference is decremented even if there is a panic unwind.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepthLock
impl !RefUnwindSafe for DepthLock
impl Send for DepthLock
impl Sync for DepthLock
impl Unpin for DepthLock
impl UnsafeUnpin for DepthLock
impl !UnwindSafe for DepthLock
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