Enum r3_core::kernel::WaitEventGroupTimeoutError
source · [−]#[repr(i8)]
pub enum WaitEventGroupTimeoutError {
NoAccess,
BadContext,
Interrupted,
Timeout,
BadParam,
}
Expand description
Error type for EventGroup::wait_timeout
.
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
Timeout
BadParam
The timeout duration is negative.
Trait Implementations
sourceimpl Clone for WaitEventGroupTimeoutError
impl Clone for WaitEventGroupTimeoutError
sourcefn clone(&self) -> WaitEventGroupTimeoutError
fn clone(&self) -> WaitEventGroupTimeoutError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WaitEventGroupTimeoutError
impl Debug for WaitEventGroupTimeoutError
sourceimpl From<WaitEventGroupTimeoutError> for ResultCode
impl From<WaitEventGroupTimeoutError> for ResultCode
sourcefn from(x: WaitEventGroupTimeoutError) -> Self
fn from(x: WaitEventGroupTimeoutError) -> Self
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for WaitEventGroupTimeoutError
impl From<WaitTimeoutError> for WaitEventGroupTimeoutError
sourcefn from(x: WaitTimeoutError) -> Self
fn from(x: WaitTimeoutError) -> Self
Converts to this type from the input type.
sourceimpl Hash for WaitEventGroupTimeoutError
impl Hash for WaitEventGroupTimeoutError
sourceimpl Ord for WaitEventGroupTimeoutError
impl Ord for WaitEventGroupTimeoutError
sourceimpl PartialOrd<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
impl PartialOrd<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
sourcefn partial_cmp(&self, other: &WaitEventGroupTimeoutError) -> Option<Ordering>
fn partial_cmp(&self, other: &WaitEventGroupTimeoutError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl Copy for WaitEventGroupTimeoutError
impl Eq for WaitEventGroupTimeoutError
impl StructuralEq for WaitEventGroupTimeoutError
impl StructuralPartialEq for WaitEventGroupTimeoutError
Auto Trait Implementations
impl RefUnwindSafe for WaitEventGroupTimeoutError
impl Send for WaitEventGroupTimeoutError
impl Sync for WaitEventGroupTimeoutError
impl Unpin for WaitEventGroupTimeoutError
impl UnwindSafe for WaitEventGroupTimeoutError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more