Enum r3_core::kernel::MarkConsistentMutexError
source · #[repr(i8)]
pub enum MarkConsistentMutexError {
NoAccess,
BadContext,
BadObjectState,
}
Expand description
Error type for Mutex::mark_consistent
.
See ResultCode
for all result codes and generic descriptions.
Variants§
NoAccess
Invalid object access.
BadContext
CPU Lock is active.
BadObjectState
The mutex does not protect an inconsistent state.
Trait Implementations§
source§impl Clone for MarkConsistentMutexError
impl Clone for MarkConsistentMutexError
source§fn clone(&self) -> MarkConsistentMutexError
fn clone(&self) -> MarkConsistentMutexError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MarkConsistentMutexError
impl Debug for MarkConsistentMutexError
source§impl From<MarkConsistentMutexError> for ResultCode
impl From<MarkConsistentMutexError> for ResultCode
source§fn from(x: MarkConsistentMutexError) -> Self
fn from(x: MarkConsistentMutexError) -> Self
Converts to this type from the input type.
source§impl Hash for MarkConsistentMutexError
impl Hash for MarkConsistentMutexError
source§impl Ord for MarkConsistentMutexError
impl Ord for MarkConsistentMutexError
source§fn cmp(&self, other: &MarkConsistentMutexError) -> Ordering
fn cmp(&self, other: &MarkConsistentMutexError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MarkConsistentMutexError> for MarkConsistentMutexError
impl PartialEq<MarkConsistentMutexError> for MarkConsistentMutexError
source§fn eq(&self, other: &MarkConsistentMutexError) -> bool
fn eq(&self, other: &MarkConsistentMutexError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MarkConsistentMutexError> for MarkConsistentMutexError
impl PartialOrd<MarkConsistentMutexError> for MarkConsistentMutexError
source§fn partial_cmp(&self, other: &MarkConsistentMutexError) -> Option<Ordering>
fn partial_cmp(&self, other: &MarkConsistentMutexError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more