pub struct OrderedLockRef<'a, T>(/* private fields */);
Expand description
A borrowed order-aware lock.
Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for OrderedLockRef<'a, T>
impl<'a, T> RefUnwindSafe for OrderedLockRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for OrderedLockRef<'a, T>where
T: Sync,
impl<'a, T> Sync for OrderedLockRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for OrderedLockRef<'a, T>
impl<'a, T> UnwindSafe for OrderedLockRef<'a, T>where
T: RefUnwindSafe,
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
Source§impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
Source§type Data = <L as UnlockedAccessMarkerFor<T>>::Data
type Data = <L as UnlockedAccessMarkerFor<T>>::Data
The type of state being accessed.
Source§type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data
where
T: 'l
type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l
A guard providing read access to the data.
Source§fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
How to access the state.