Enum r3_core::kernel::SetTimerDelayError
source · #[repr(i8)]
pub enum SetTimerDelayError {
NoAccess,
BadContext,
BadParam,
}
Expand description
Error type for Timer::set_delay
.
See ResultCode
for all result codes and generic descriptions.
Variants§
Trait Implementations§
source§impl Clone for SetTimerDelayError
impl Clone for SetTimerDelayError
source§fn clone(&self) -> SetTimerDelayError
fn clone(&self) -> SetTimerDelayError
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 SetTimerDelayError
impl Debug for SetTimerDelayError
source§impl From<SetTimerDelayError> for ResultCode
impl From<SetTimerDelayError> for ResultCode
source§fn from(x: SetTimerDelayError) -> Self
fn from(x: SetTimerDelayError) -> Self
Converts to this type from the input type.
source§impl Hash for SetTimerDelayError
impl Hash for SetTimerDelayError
source§impl Ord for SetTimerDelayError
impl Ord for SetTimerDelayError
source§fn cmp(&self, other: &SetTimerDelayError) -> Ordering
fn cmp(&self, other: &SetTimerDelayError) -> 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<SetTimerDelayError> for SetTimerDelayError
impl PartialEq<SetTimerDelayError> for SetTimerDelayError
source§fn eq(&self, other: &SetTimerDelayError) -> bool
fn eq(&self, other: &SetTimerDelayError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SetTimerDelayError> for SetTimerDelayError
impl PartialOrd<SetTimerDelayError> for SetTimerDelayError
source§fn partial_cmp(&self, other: &SetTimerDelayError) -> Option<Ordering>
fn partial_cmp(&self, other: &SetTimerDelayError) -> 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