pub enum BleDiscoveryMode {
Advertising,
Connected,
Any,
}Expand description
BLE discovery intent.
The bluest backend supports Connected and Any on all platforms.
Advertising is not supported and will return an error.
Variants§
Advertising
Discover devices currently advertising ZMK Studio BLE service data.
Connected
Discover devices already paired/connected in the OS BLE device store.
Any
Use the best available backend strategy for the current platform.
Trait Implementations§
Source§impl Clone for BleDiscoveryMode
impl Clone for BleDiscoveryMode
Source§fn clone(&self) -> BleDiscoveryMode
fn clone(&self) -> BleDiscoveryMode
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 BleDiscoveryMode
impl Debug for BleDiscoveryMode
Source§impl PartialEq for BleDiscoveryMode
impl PartialEq for BleDiscoveryMode
impl Copy for BleDiscoveryMode
impl Eq for BleDiscoveryMode
impl StructuralPartialEq for BleDiscoveryMode
Auto Trait Implementations§
impl Freeze for BleDiscoveryMode
impl RefUnwindSafe for BleDiscoveryMode
impl Send for BleDiscoveryMode
impl Sync for BleDiscoveryMode
impl Unpin for BleDiscoveryMode
impl UnsafeUnpin for BleDiscoveryMode
impl UnwindSafe for BleDiscoveryMode
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