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§
source§impl Clone for ParkTimeoutError
 
impl Clone for ParkTimeoutError
source§fn clone(&self) -> ParkTimeoutError
 
fn clone(&self) -> ParkTimeoutError
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 ParkTimeoutError
 
impl Debug for ParkTimeoutError
source§impl From<ParkTimeoutError> for ResultCode
 
impl From<ParkTimeoutError> for ResultCode
source§fn from(x: ParkTimeoutError) -> Self
 
fn from(x: ParkTimeoutError) -> 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 Hash for ParkTimeoutError
 
impl Hash for ParkTimeoutError
source§impl Ord for ParkTimeoutError
 
impl Ord for ParkTimeoutError
source§fn cmp(&self, other: &ParkTimeoutError) -> Ordering
 
fn cmp(&self, other: &ParkTimeoutError) -> 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<ParkTimeoutError> for ParkTimeoutError
 
impl PartialEq<ParkTimeoutError> for ParkTimeoutError
source§fn eq(&self, other: &ParkTimeoutError) -> bool
 
fn eq(&self, other: &ParkTimeoutError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ParkTimeoutError> for ParkTimeoutError
 
impl PartialOrd<ParkTimeoutError> for ParkTimeoutError
source§fn partial_cmp(&self, other: &ParkTimeoutError) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ParkTimeoutError) -> 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