pub enum PairingCommand {
Pair(DiscoveredDevice),
Cancel,
}Expand description
Commands fed into a pairing session.
Variants§
Pair(DiscoveredDevice)
Bolt: pair with a previously discovered device.
Cancel
Abort the in-progress flow.
Trait Implementations§
Source§impl Clone for PairingCommand
impl Clone for PairingCommand
Source§fn clone(&self) -> PairingCommand
fn clone(&self) -> PairingCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PairingCommand
impl RefUnwindSafe for PairingCommand
impl Send for PairingCommand
impl Sync for PairingCommand
impl Unpin for PairingCommand
impl UnsafeUnpin for PairingCommand
impl UnwindSafe for PairingCommand
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