pub enum BleState {
Advertising,
Connected,
Inactive,
}Expand description
BLE state (what the BLE subsystem is currently doing).
Variants§
Advertising
The BLE is advertising.
Connected
The BLE is connected.
Inactive
The BLE is not in use (USB mode or sleep mode, default).
Trait Implementations§
impl Copy for BleState
Source§impl<'de> Deserialize<'de> for BleState
impl<'de> Deserialize<'de> for BleState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BleState
Source§impl MaxSize for BleState
impl MaxSize for BleState
Source§const POSTCARD_MAX_SIZE: usize
const POSTCARD_MAX_SIZE: usize
The maximum possible size that the serialization of this
type can have, in bytes.
impl StructuralPartialEq for BleState
Auto Trait Implementations§
impl Freeze for BleState
impl RefUnwindSafe for BleState
impl Send for BleState
impl Sync for BleState
impl Unpin for BleState
impl UnsafeUnpin for BleState
impl UnwindSafe for BleState
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