Enum r3::kernel::WaitEventGroupTimeoutError
source · 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 moresourceimpl Debug for WaitEventGroupTimeoutError
impl Debug for WaitEventGroupTimeoutError
sourceimpl From<WaitEventGroupTimeoutError> for ResultCode
impl From<WaitEventGroupTimeoutError> for ResultCode
sourcefn from(x: WaitEventGroupTimeoutError) -> ResultCode
fn from(x: WaitEventGroupTimeoutError) -> 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 Hash for WaitEventGroupTimeoutError
impl Hash for WaitEventGroupTimeoutError
sourceimpl Ord for WaitEventGroupTimeoutError
impl Ord for WaitEventGroupTimeoutError
sourcefn cmp(&self, other: &WaitEventGroupTimeoutError) -> Ordering
fn cmp(&self, other: &WaitEventGroupTimeoutError) -> 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<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
impl PartialEq<WaitEventGroupTimeoutError> for WaitEventGroupTimeoutError
sourcefn eq(&self, other: &WaitEventGroupTimeoutError) -> bool
fn eq(&self, other: &WaitEventGroupTimeoutError) -> bool
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>
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 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 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