pub enum BluetoothProfileCommand {
Disconnect,
Clear,
ClearAll,
Previous,
Next,
Select(u8),
}
Expand description
Commands for managing Bluetooth profiles. (BLE pairing and bonding).
Variants§
Disconnect
Disconnect the current profile.
Clear
Clear the current profile. (Start pairing mode).
ClearAll
Clear all profiles. (Start pairing mode).
Previous
Switch to the previous profile.
Next
Switch to the next profile.
Select(u8)
Switch to the given profile index.
Trait Implementations§
Source§impl Clone for BluetoothProfileCommand
impl Clone for BluetoothProfileCommand
Source§fn clone(&self) -> BluetoothProfileCommand
fn clone(&self) -> BluetoothProfileCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BluetoothProfileCommand
impl Debug for BluetoothProfileCommand
Source§impl<'de> Deserialize<'de> for BluetoothProfileCommand
impl<'de> Deserialize<'de> for BluetoothProfileCommand
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
Source§impl PartialEq for BluetoothProfileCommand
impl PartialEq for BluetoothProfileCommand
impl Copy for BluetoothProfileCommand
impl Eq for BluetoothProfileCommand
impl StructuralPartialEq for BluetoothProfileCommand
Auto Trait Implementations§
impl Freeze for BluetoothProfileCommand
impl RefUnwindSafe for BluetoothProfileCommand
impl Send for BluetoothProfileCommand
impl Sync for BluetoothProfileCommand
impl Unpin for BluetoothProfileCommand
impl UnwindSafe for BluetoothProfileCommand
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