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