pub enum PiMutexLockResult {
Acquired,
Waiting(PiWaitToken),
}Expand description
Result of entering the PI mutex slow path.
Variants§
Acquired
A racing fast unlock let this caller acquire the mutex directly.
Waiting(PiWaitToken)
The caller is linked in the mutex-owned waiter tree.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PiMutexLockResult
impl !RefUnwindSafe for PiMutexLockResult
impl !Send for PiMutexLockResult
impl !Sync for PiMutexLockResult
impl !UnwindSafe for PiMutexLockResult
impl Unpin for PiMutexLockResult
impl UnsafeUnpin for PiMutexLockResult
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