#[repr(i8)]
pub enum TimeError {
BadContext,
}
Expand description
Error type for Kernel::time
and
Kernel::set_time
.
See ResultCode
for all result codes and generic descriptions.
Variants§
BadContext
The current context is not a task context, or CPU Lock is active.
Trait Implementations§
source§impl From<TimeError> for ResultCode
impl From<TimeError> for ResultCode
source§impl Ord for TimeError
impl Ord for TimeError
source§impl PartialEq<TimeError> for TimeError
impl PartialEq<TimeError> for TimeError
source§impl PartialOrd<TimeError> for TimeError
impl PartialOrd<TimeError> for TimeError
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