pub enum PiMutexStateError {
WaiterOwnsLock,
InvalidState,
}Expand description
Failure of a lock-local PI owner-word transition.
Variants§
WaiterOwnsLock
The current task attempted to acquire a mutex it already owns.
InvalidState
The owner word or lock generation violates the PI state machine.
Trait Implementations§
Source§impl Clone for PiMutexStateError
impl Clone for PiMutexStateError
Source§fn clone(&self) -> PiMutexStateError
fn clone(&self) -> PiMutexStateError
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 PiMutexStateError
Source§impl Debug for PiMutexStateError
impl Debug for PiMutexStateError
Source§impl Display for PiMutexStateError
impl Display for PiMutexStateError
impl Eq for PiMutexStateError
Source§impl Error for PiMutexStateError
impl Error for PiMutexStateError
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 From<PiMutexStateError> for TaskError
impl From<PiMutexStateError> for TaskError
Source§fn from(error: PiMutexStateError) -> Self
fn from(error: PiMutexStateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PiMutexStateError
impl PartialEq for PiMutexStateError
impl StructuralPartialEq for PiMutexStateError
Auto Trait Implementations§
impl Freeze for PiMutexStateError
impl RefUnwindSafe for PiMutexStateError
impl Send for PiMutexStateError
impl Sync for PiMutexStateError
impl Unpin for PiMutexStateError
impl UnsafeUnpin for PiMutexStateError
impl UnwindSafe for PiMutexStateError
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