pub struct Paired {
pub accessory: BleAccessory,
pub pairing: AccessoryPairing,
pub broadcast: BleBroadcastState,
}Expand description
The result of a successful BLE pairing.
Fields§
§accessory: BleAccessoryThe connected accessory handle.
pairing: AccessoryPairingThe long-term pairing — persist this.
broadcast: BleBroadcastStateBroadcast material — persist this to resume broadcasts across restarts.
Auto Trait Implementations§
impl !RefUnwindSafe for Paired
impl !UnwindSafe for Paired
impl Freeze for Paired
impl Send for Paired
impl Sync for Paired
impl Unpin for Paired
impl UnsafeUnpin for Paired
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