Struct proclock_api::LockGuard
source · [−]pub struct LockGuard { /* private fields */ }
Expand description
This struct releases the lock on Drop
, similar to MutexGuard
’s behaviour
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more