pub struct MemoryLock { /* private fields */ }Expand description
A held in-memory lock.
Automatically released on drop; also releasable explicitly via release().
Trait Implementations§
Source§impl Drop for MemoryLock
impl Drop for MemoryLock
Auto Trait Implementations§
impl Freeze for MemoryLock
impl !RefUnwindSafe for MemoryLock
impl Send for MemoryLock
impl Sync for MemoryLock
impl Unpin for MemoryLock
impl UnsafeUnpin for MemoryLock
impl !UnwindSafe for MemoryLock
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