Enum embedded_timers::TimerError
source · pub enum TimerError {
NotRunning,
ClockError(ClockError),
}Expand description
Errors which can occur when dealing with this module
Variants§
NotRunning
A Timer has not been started
ClockError(ClockError)
The Clock returned an error while trying to get the current Instant
Trait Implementations§
source§impl Clone for TimerError
impl Clone for TimerError
source§fn clone(&self) -> TimerError
fn clone(&self) -> TimerError
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 TimerError
impl Debug for TimerError
source§impl PartialEq for TimerError
impl PartialEq for TimerError
source§fn eq(&self, other: &TimerError) -> bool
fn eq(&self, other: &TimerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TimerError
impl Eq for TimerError
impl StructuralPartialEq for TimerError
Auto Trait Implementations§
impl RefUnwindSafe for TimerError
impl Send for TimerError
impl Sync for TimerError
impl Unpin for TimerError
impl UnwindSafe for TimerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more