Struct tarantool::fiber::LatchGuard
source · pub struct LatchGuard { /* private fields */ }
Expand description
An RAII implementation of a “scoped lock” of a latch. When this structure is dropped (falls out of scope), the lock will be unlocked.
Trait Implementations§
source§impl Debug for LatchGuard
impl Debug for LatchGuard
Auto Trait Implementations§
impl RefUnwindSafe for LatchGuard
impl !Send for LatchGuard
impl !Sync for LatchGuard
impl Unpin for LatchGuard
impl UnwindSafe for LatchGuard
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