pub enum TimerError {
NotInitialized,
InvalidConfig,
NotAvailable,
AlreadyRunning,
NotRunning,
UnsupportedFrequency,
}
Expand description
Errors that can occur during timer operations.
Variants§
NotInitialized
Timer is not initialized
InvalidConfig
Invalid configuration parameters
NotAvailable
Hardware timer is not available
AlreadyRunning
Timer is already running
NotRunning
Timer is not running
UnsupportedFrequency
Frequency is out of supported range
Trait Implementations§
Source§impl Clone for TimerError
impl Clone for TimerError
Source§fn clone(&self) -> TimerError
fn clone(&self) -> TimerError
Returns a duplicate 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 From<TimerError> for TimerError
impl From<TimerError> for TimerError
Source§fn from(error: TimerError) -> Self
fn from(error: TimerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimerError
impl PartialEq for TimerError
impl Copy for TimerError
impl Eq for TimerError
impl StructuralPartialEq for TimerError
Auto Trait Implementations§
impl Freeze for TimerError
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