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