Enum r3_core::kernel::QueryMutexError
source · #[repr(i8)]
pub enum QueryMutexError {
NoAccess,
BadContext,
}
Expand description
Error type for Mutex::is_locked
.
See ResultCode
for all result codes and generic descriptions.
Variants§
Trait Implementations§
source§impl Clone for QueryMutexError
impl Clone for QueryMutexError
source§fn clone(&self) -> QueryMutexError
fn clone(&self) -> QueryMutexError
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 QueryMutexError
impl Debug for QueryMutexError
source§impl From<QueryMutexError> for ResultCode
impl From<QueryMutexError> for ResultCode
source§fn from(x: QueryMutexError) -> Self
fn from(x: QueryMutexError) -> Self
Converts to this type from the input type.
source§impl Hash for QueryMutexError
impl Hash for QueryMutexError
source§impl Ord for QueryMutexError
impl Ord for QueryMutexError
source§fn cmp(&self, other: &QueryMutexError) -> Ordering
fn cmp(&self, other: &QueryMutexError) -> 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<QueryMutexError> for QueryMutexError
impl PartialEq<QueryMutexError> for QueryMutexError
source§fn eq(&self, other: &QueryMutexError) -> bool
fn eq(&self, other: &QueryMutexError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<QueryMutexError> for QueryMutexError
impl PartialOrd<QueryMutexError> for QueryMutexError
source§fn partial_cmp(&self, other: &QueryMutexError) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryMutexError) -> 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