pub enum Setting {
Bluetooth,
Gnss,
ShareLocation,
Forwarding,
}Expand description
A device-domain switch a board may offer as a control the operator can reach — a menu entry, a button, a gesture.
Each names a property rather than a piece of hardware: what the device does with it is the platform’s business, and a board that cannot perform one simply never sends it.
Variants§
Bluetooth
PROP_BLE_ENABLED: whether the device is reachable over
Bluetooth.
Gnss
PROP_GNSS_ENABLED: whether the receiver is powered.
PROP_GNSS_IDENT_UPDATE: whether position goes out in what the
device advertises.
Forwarding
PROP_MAC_REPEATER_ENABLED: whether the node forwards other
nodes’ frames.
Trait Implementations§
impl Copy for Setting
impl Eq for Setting
impl StructuralPartialEq for Setting
Auto Trait Implementations§
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
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)