pub enum AlarmError {
InvalidTime(&'static str),
InvalidDayOfWeek,
InvalidDateOfMonth,
DateTime(DS3231DateTimeError),
}
Expand description
Error type for alarm configuration operations.
Variants§
InvalidTime(&'static str)
Invalid time component value
InvalidDayOfWeek
Invalid day of week (must be 1-7)
InvalidDateOfMonth
Invalid date of month (must be 1-31)
DateTime(DS3231DateTimeError)
DateTime
conversion error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlarmError
impl RefUnwindSafe for AlarmError
impl Send for AlarmError
impl Sync for AlarmError
impl Unpin for AlarmError
impl UnwindSafe for AlarmError
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