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