pub struct Lock { /* private fields */ }Expand description
A held, non-blocking lock on one gate’s cache. Released on drop.
Auto Trait Implementations§
impl Forget for Lock
impl Freeze for Lockwhere
I32NotAllOnes: Freeze,
impl Move for Lock
impl RefUnwindSafe for Lockwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for Lockwhere
I32NotAllOnes: Send,
impl Sync for Lockwhere
I32NotAllOnes: Sync,
impl Unpin for Lockwhere
I32NotAllOnes: Unpin,
impl UnsafeUnpin for Lockwhere
I32NotAllOnes: UnsafeUnpin,
impl UnwindSafe for Lockwhere
I32NotAllOnes: UnwindSafe,
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