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
NoAccess
Invalid object access.
BadContext
CPU Lock is active.
Trait Implementations
sourceimpl Clone for StopTimerError
impl Clone for StopTimerError
sourcefn clone(&self) -> StopTimerError
fn clone(&self) -> StopTimerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StopTimerError
impl Debug for StopTimerError
sourceimpl From<StopTimerError> for ResultCode
impl From<StopTimerError> for ResultCode
sourcefn from(x: StopTimerError) -> Self
fn from(x: StopTimerError) -> Self
Converts to this type from the input type.
sourceimpl Hash for StopTimerError
impl Hash for StopTimerError
sourceimpl Ord for StopTimerError
impl Ord for StopTimerError
sourcefn cmp(&self, other: &StopTimerError) -> Ordering
fn cmp(&self, other: &StopTimerError) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<StopTimerError> for StopTimerError
impl PartialEq<StopTimerError> for StopTimerError
sourcefn eq(&self, other: &StopTimerError) -> bool
fn eq(&self, other: &StopTimerError) -> bool
sourceimpl PartialOrd<StopTimerError> for StopTimerError
impl PartialOrd<StopTimerError> for StopTimerError
sourcefn partial_cmp(&self, other: &StopTimerError) -> Option<Ordering>
fn partial_cmp(&self, other: &StopTimerError) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl Copy for StopTimerError
impl Eq for StopTimerError
impl StructuralEq for StopTimerError
impl StructuralPartialEq for StopTimerError
Auto Trait Implementations
impl RefUnwindSafe for StopTimerError
impl Send for StopTimerError
impl Sync for StopTimerError
impl Unpin for StopTimerError
impl UnwindSafe for StopTimerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more