pub enum Command {
Show 14 variants
GetInfo,
CreateScanner {
scan_id: u32,
},
RemoveScanner {
scan_id: u32,
},
CreateConnectionChannel {
conn_id: u32,
bd_addr: String,
latency_mode: LatencyMode,
auto_disconnect_time: i16,
},
RemoveConnectionChannel {
conn_id: u32,
},
ForceDisconnect {
bd_addr: String,
},
ChangeModeParameters {
conn_id: u32,
latency_mode: LatencyMode,
auto_disconnect_time: i16,
},
Ping {
ping_id: u32,
},
GetButtonInfo {
bd_addr: String,
},
CreateScanWizard {
scan_wizard_id: u32,
},
CancelScanWizard {
scan_wizard_id: u32,
},
DeleteButton {
bd_addr: String,
},
CreateBatteryStatusListener {
listener_id: u32,
bd_addr: String,
},
RemoveBatteryStatusListener {
listener_id: u32,
},
}
Expand description
Commands
Variants§
GetInfo
CreateScanner
RemoveScanner
CreateConnectionChannel
RemoveConnectionChannel
ForceDisconnect
ChangeModeParameters
Ping
GetButtonInfo
CreateScanWizard
CancelScanWizard
DeleteButton
CreateBatteryStatusListener
RemoveBatteryStatusListener
Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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