pub struct PriorityMutex<T> { /* private fields */ }
Expand description
An async mutex where the lock operation takes a priority.
Implementations§
Source§impl<T> PriorityMutex<T>
impl<T> PriorityMutex<T>
Auto Trait Implementations§
impl<T> !Freeze for PriorityMutex<T>
impl<T> !RefUnwindSafe for PriorityMutex<T>
impl<T> Send for PriorityMutex<T>where
T: Send,
impl<T> Sync for PriorityMutex<T>where
T: Send,
impl<T> Unpin for PriorityMutex<T>where
T: Unpin,
impl<T> !UnwindSafe for PriorityMutex<T>
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