#[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§
source§impl Clone for WaitEventGroupTimeoutError
impl Clone for WaitEventGroupTimeoutError
source§fn clone(&self) -> WaitEventGroupTimeoutError
fn clone(&self) -> WaitEventGroupTimeoutError
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 WaitEventGroupTimeoutError
impl Debug for WaitEventGroupTimeoutError
source§impl From<WaitEventGroupTimeoutError> for ResultCode
impl From<WaitEventGroupTimeoutError> for ResultCode
source§fn from(x: WaitEventGroupTimeoutError) -> Self
fn from(x: WaitEventGroupTimeoutError) -> Self
Converts to this type from the input type.
source§impl From<WaitTimeoutError> for WaitEventGroupTimeoutError
impl From<WaitTimeoutError> for WaitEventGroupTimeoutError
source§fn from(x: WaitTimeoutError) -> Self
fn from(x: WaitTimeoutError) -> Self
Converts to this type from the input type.
source§impl Hash for WaitEventGroupTimeoutError
impl Hash for WaitEventGroupTimeoutError
source§impl Ord for WaitEventGroupTimeoutError
impl Ord for WaitEventGroupTimeoutError
source§fn cmp(&self, other: &WaitEventGroupTimeoutError) -> Ordering
fn cmp(&self, other: &WaitEventGroupTimeoutError) -> 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<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
impl PartialEq<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
source§fn eq(&self, other: &WaitEventGroupTimeoutError) -> bool
fn eq(&self, other: &WaitEventGroupTimeoutError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
impl PartialOrd<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
source§fn partial_cmp(&self, other: &WaitEventGroupTimeoutError) -> Option<Ordering>
fn partial_cmp(&self, other: &WaitEventGroupTimeoutError) -> 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