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