pub enum LedStatus {
Off,
Startup,
Resetting,
Ok,
Warning,
Error,
}Expand description
Semantic status shown by the LED (timings in the module docs).
Variants§
Off
LED off (duty 0).
Startup
Slow breathing while starting up (1000 ms, peak brightness).
Resetting
Fast breathing while resetting (300 ms, peak brightness).
Ok
Solid on at the configured brightness.
Warning
Slow blink at the configured brightness (1000 ms period).
Error
Fast blink at peak brightness (200 ms period).
Implementations§
Trait Implementations§
impl Copy for LedStatus
impl Eq for LedStatus
impl StructuralPartialEq for LedStatus
Auto Trait Implementations§
impl Freeze for LedStatus
impl RefUnwindSafe for LedStatus
impl Send for LedStatus
impl Sync for LedStatus
impl Unpin for LedStatus
impl UnsafeUnpin for LedStatus
impl UnwindSafe for LedStatus
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)