Enum r3_core::kernel::ParkTimeoutError
source · [−]#[repr(i8)]
pub enum ParkTimeoutError {
BadContext,
Interrupted,
Timeout,
BadParam,
}
Expand description
Error type for Kernel::park_timeout
.
See ResultCode
for all result codes and generic descriptions.
Variants
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 ParkTimeoutError
impl Clone for ParkTimeoutError
sourcefn clone(&self) -> ParkTimeoutError
fn clone(&self) -> ParkTimeoutError
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 ParkTimeoutError
impl Debug for ParkTimeoutError
sourceimpl From<ParkTimeoutError> for ResultCode
impl From<ParkTimeoutError> for ResultCode
sourcefn from(x: ParkTimeoutError) -> Self
fn from(x: ParkTimeoutError) -> 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 Hash for ParkTimeoutError
impl Hash for ParkTimeoutError
sourceimpl Ord for ParkTimeoutError
impl Ord for ParkTimeoutError
sourceimpl PartialEq<ParkTimeoutError> for ParkTimeoutError
impl PartialEq<ParkTimeoutError> for ParkTimeoutError
sourceimpl PartialOrd<ParkTimeoutError> for ParkTimeoutError
impl PartialOrd<ParkTimeoutError> for ParkTimeoutError
sourcefn partial_cmp(&self, other: &ParkTimeoutError) -> Option<Ordering>
fn partial_cmp(&self, other: &ParkTimeoutError) -> 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 ParkTimeoutError
impl Eq for ParkTimeoutError
impl StructuralEq for ParkTimeoutError
impl StructuralPartialEq for ParkTimeoutError
Auto Trait Implementations
impl RefUnwindSafe for ParkTimeoutError
impl Send for ParkTimeoutError
impl Sync for ParkTimeoutError
impl Unpin for ParkTimeoutError
impl UnwindSafe for ParkTimeoutError
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