pub enum LedSequence {
ActionConfirm,
PowerOn,
PowerOff,
LocationAdvert,
GnssOn,
GnssOff,
}Expand description
A one-shot LED flash sequence.
Variants§
ActionConfirm
One short flash confirming an accepted local action.
PowerOn
1 s on at boot.
PowerOff
Three short flashes just before System OFF.
LocationAdvert
Quick double-blink on outgoing location advert.
GnssOn
The GNSS receiver was switched on: two pips resolving into a long hold.
GnssOff
The GNSS receiver was switched off: a long hold breaking into
two pips — the mirror of GnssOn.
Trait Implementations§
Source§impl Clone for LedSequence
impl Clone for LedSequence
Source§fn clone(&self) -> LedSequence
fn clone(&self) -> LedSequence
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LedSequence
impl Debug for LedSequence
Source§impl PartialEq for LedSequence
impl PartialEq for LedSequence
impl Copy for LedSequence
impl Eq for LedSequence
impl StructuralPartialEq for LedSequence
Auto Trait Implementations§
impl Freeze for LedSequence
impl RefUnwindSafe for LedSequence
impl Send for LedSequence
impl Sync for LedSequence
impl Unpin for LedSequence
impl UnwindSafe for LedSequence
Blanket Implementations§
§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)