Enum r3::kernel::WaitTimeoutError
source · 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 moresourceimpl Debug for WaitTimeoutError
impl Debug for WaitTimeoutError
sourceimpl From<WaitError> for WaitTimeoutError
impl From<WaitError> for WaitTimeoutError
sourcefn from(x: WaitError) -> WaitTimeoutError
fn from(x: WaitError) -> WaitTimeoutError
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for LockMutexTimeoutError
impl From<WaitTimeoutError> for LockMutexTimeoutError
sourcefn from(x: WaitTimeoutError) -> LockMutexTimeoutError
fn from(x: WaitTimeoutError) -> LockMutexTimeoutError
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for ParkTimeoutError
impl From<WaitTimeoutError> for ParkTimeoutError
sourcefn from(x: WaitTimeoutError) -> ParkTimeoutError
fn from(x: WaitTimeoutError) -> ParkTimeoutError
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for ResultCode
impl From<WaitTimeoutError> for ResultCode
sourcefn from(x: WaitTimeoutError) -> ResultCode
fn from(x: WaitTimeoutError) -> ResultCode
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for WaitEventGroupTimeoutError
impl From<WaitTimeoutError> for WaitEventGroupTimeoutError
sourcefn from(x: WaitTimeoutError) -> WaitEventGroupTimeoutError
fn from(x: WaitTimeoutError) -> WaitEventGroupTimeoutError
Converts to this type from the input type.
sourceimpl From<WaitTimeoutError> for WaitSemaphoreTimeoutError
impl From<WaitTimeoutError> for WaitSemaphoreTimeoutError
sourcefn from(x: WaitTimeoutError) -> WaitSemaphoreTimeoutError
fn from(x: WaitTimeoutError) -> WaitSemaphoreTimeoutError
Converts to this type from the input type.
sourceimpl Hash for WaitTimeoutError
impl Hash for WaitTimeoutError
sourceimpl Ord for WaitTimeoutError
impl Ord for WaitTimeoutError
sourcefn cmp(&self, other: &WaitTimeoutError) -> Ordering
fn cmp(&self, other: &WaitTimeoutError) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<WaitTimeoutError> for WaitTimeoutError
impl PartialEq<WaitTimeoutError> for WaitTimeoutError
sourcefn eq(&self, other: &WaitTimeoutError) -> bool
fn eq(&self, other: &WaitTimeoutError) -> bool
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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