pub enum PairSetupStep {
Send(Vec<u8>),
Done(AccessoryPairing),
}Expand description
The result of feeding one accessory response to PairSetupClient::handle.
Variants§
Send(Vec<u8>)
The next controller message to transmit to the accessory (a TLV8 body).
Done(AccessoryPairing)
Pair Setup completed; the accessory pairing was established and verified.
Trait Implementations§
Source§impl Clone for PairSetupStep
impl Clone for PairSetupStep
Source§fn clone(&self) -> PairSetupStep
fn clone(&self) -> PairSetupStep
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 moreSource§impl Debug for PairSetupStep
impl Debug for PairSetupStep
impl Eq for PairSetupStep
Source§impl PartialEq for PairSetupStep
impl PartialEq for PairSetupStep
Source§fn eq(&self, other: &PairSetupStep) -> bool
fn eq(&self, other: &PairSetupStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PairSetupStep
Auto Trait Implementations§
impl Freeze for PairSetupStep
impl RefUnwindSafe for PairSetupStep
impl Send for PairSetupStep
impl Sync for PairSetupStep
impl Unpin for PairSetupStep
impl UnsafeUnpin for PairSetupStep
impl UnwindSafe for PairSetupStep
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