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
Interrupted
Timeout
Trait Implementations
sourceimpl Clone for WaitTimeoutError
impl Clone for WaitTimeoutError
sourcefn clone(&self) -> WaitTimeoutError
fn clone(&self) -> WaitTimeoutError
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 WaitTimeoutError
impl Debug for WaitTimeoutError
sourceimpl From<WaitError> for WaitTimeoutError
impl From<WaitError> for WaitTimeoutError
sourceimpl From<WaitTimeoutError> for ResultCode
impl From<WaitTimeoutError> for ResultCode
sourcefn from(x: WaitTimeoutError) -> Self
fn from(x: WaitTimeoutError) -> Self
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for ParkTimeoutError
impl From<WaitTimeoutError> for ParkTimeoutError
sourcefn from(x: WaitTimeoutError) -> Self
fn from(x: WaitTimeoutError) -> 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 From<WaitTimeoutError> for WaitSemaphoreTimeoutError
impl From<WaitTimeoutError> for WaitSemaphoreTimeoutError
sourcefn from(x: WaitTimeoutError) -> Self
fn from(x: WaitTimeoutError) -> Self
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for LockMutexTimeoutError
impl From<WaitTimeoutError> for LockMutexTimeoutError
sourcefn from(x: WaitTimeoutError) -> Self
fn from(x: WaitTimeoutError) -> Self
Converts to this type from the input type.
sourceimpl Hash for WaitTimeoutError
impl Hash for WaitTimeoutError
sourceimpl Ord for WaitTimeoutError
impl Ord for WaitTimeoutError
sourceimpl PartialEq<WaitTimeoutError> for WaitTimeoutError
impl PartialEq<WaitTimeoutError> for WaitTimeoutError
sourceimpl PartialOrd<WaitTimeoutError> for WaitTimeoutError
impl PartialOrd<WaitTimeoutError> for WaitTimeoutError
sourcefn partial_cmp(&self, other: &WaitTimeoutError) -> Option<Ordering>
fn partial_cmp(&self, other: &WaitTimeoutError) -> 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 WaitTimeoutError
impl Eq for WaitTimeoutError
impl StructuralEq for WaitTimeoutError
impl StructuralPartialEq for WaitTimeoutError
Auto Trait Implementations
impl RefUnwindSafe for WaitTimeoutError
impl Send for WaitTimeoutError
impl Sync for WaitTimeoutError
impl Unpin for WaitTimeoutError
impl UnwindSafe for WaitTimeoutError
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