Struct ordered_locks::LockToken
source · [−]pub struct LockToken<'a, L: Level>(_);Expand description
While this exists only locks with a level higher than L, may be locked. These tokens are carried around the call stack to indicate tho current locking level. They have no size and should disappear at runtime.
Implementations
Auto Trait Implementations
impl<'a, L> RefUnwindSafe for LockToken<'a, L>where
L: RefUnwindSafe,
impl<'a, L> Send for LockToken<'a, L>where
L: Send,
impl<'a, L> Sync for LockToken<'a, L>where
L: Sync,
impl<'a, L> Unpin for LockToken<'a, L>
impl<'a, L> !UnwindSafe for LockToken<'a, L>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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