pub enum PiWaitStateError {
WaiterOwnsLock,
StaleSchedulerOwnership,
PhysicalOwnerMismatch,
OwnerlessSelectionMissing,
ExitedParticipant,
WaiterAlreadyBlocked,
}Expand description
Invariant that rejected a PI waiter graph transition.
Variants§
WaiterOwnsLock
A thread attempted to wait on a mutex it already owns.
StaleSchedulerOwnership
The first physical waiter found scheduler ownership left behind.
PhysicalOwnerMismatch
Physical ownership disagrees with the existing scheduler waiter graph.
OwnerlessSelectionMissing
An ownerless physical handoff has no scheduler-selected waiter.
ExitedParticipant
The waiter or physical owner has already exited.
WaiterAlreadyBlocked
The waiter already owns a different PI wait edge.
Trait Implementations§
Source§impl Clone for PiWaitStateError
impl Clone for PiWaitStateError
Source§fn clone(&self) -> PiWaitStateError
fn clone(&self) -> PiWaitStateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PiWaitStateError
Source§impl Debug for PiWaitStateError
impl Debug for PiWaitStateError
Source§impl Display for PiWaitStateError
impl Display for PiWaitStateError
impl Eq for PiWaitStateError
Source§impl Error for PiWaitStateError
impl Error for PiWaitStateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PiWaitStateError
impl PartialEq for PiWaitStateError
impl StructuralPartialEq for PiWaitStateError
Auto Trait Implementations§
impl Freeze for PiWaitStateError
impl RefUnwindSafe for PiWaitStateError
impl Send for PiWaitStateError
impl Sync for PiWaitStateError
impl Unpin for PiWaitStateError
impl UnsafeUnpin for PiWaitStateError
impl UnwindSafe for PiWaitStateError
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