#[repr(i8)]
pub enum ParkError {
BadContext,
Interrupted,
}
Expand description
Error type for Kernel::park
.
See ResultCode
for all result codes and generic descriptions.
Variants§
Trait Implementations§
source§impl From<ParkError> for ResultCode
impl From<ParkError> for ResultCode
source§impl Ord for ParkError
impl Ord for ParkError
source§impl PartialEq<ParkError> for ParkError
impl PartialEq<ParkError> for ParkError
source§impl PartialOrd<ParkError> for ParkError
impl PartialOrd<ParkError> for ParkError
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