pub enum DeviceFrame {
Key {
device_key: DevicePublicKey,
name: String,
},
Done,
Refused {
reason: Refusal,
},
}Expand description
What the device sends.
Variants§
Key
The device’s key for the identity PhoneFrame::Hello named, and
what the device calls itself.
Done
The credential is installed.
Refused
The pairing is over, refused for reason.
Trait Implementations§
Source§impl Clone for DeviceFrame
impl Clone for DeviceFrame
Source§impl Debug for DeviceFrame
impl Debug for DeviceFrame
Source§impl<'de> Deserialize<'de> for DeviceFrame
impl<'de> Deserialize<'de> for DeviceFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DeviceFrame
Source§impl PartialEq for DeviceFrame
impl PartialEq for DeviceFrame
Source§impl Serialize for DeviceFrame
impl Serialize for DeviceFrame
impl StructuralPartialEq for DeviceFrame
Auto Trait Implementations§
impl Forget for DeviceFrame
impl Freeze for DeviceFrame
impl Move for DeviceFrame
impl RefUnwindSafe for DeviceFrame
impl Send for DeviceFrame
impl Sync for DeviceFrame
impl Unpin for DeviceFrame
impl UnsafeUnpin for DeviceFrame
impl UnwindSafe for DeviceFrame
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