pub enum MessageToBluetoothHost {
DisplayPasskey(u32, Sender<ResponseToPasskey>),
ConfirmPasskey(u32, Sender<ResponseToPasskey>),
CancelDisplayPasskey,
}
Expand description
Messages that can be sent specifically to the app user hosting the bluetooth controls
Variants§
DisplayPasskey(u32, Sender<ResponseToPasskey>)
The passkey used for pairing devices
ConfirmPasskey(u32, Sender<ResponseToPasskey>)
The passkey to confirm for pairing
CancelDisplayPasskey
Cancal the passkey display
Auto Trait Implementations§
impl Freeze for MessageToBluetoothHost
impl RefUnwindSafe for MessageToBluetoothHost
impl Send for MessageToBluetoothHost
impl Sync for MessageToBluetoothHost
impl Unpin for MessageToBluetoothHost
impl UnwindSafe for MessageToBluetoothHost
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