pub enum OobData {
Legacy([u8; 16]),
SecureConnections {
random: u128,
confirm: u128,
},
}Expand description
Out-of-band data received from a peer.
Variants§
Legacy([u8; 16])
Legacy pairing’s temporary key.
SecureConnections
Secure Connections: the peer’s random value and confirm value.
Trait Implementations§
impl Copy for OobData
impl Eq for OobData
impl StructuralPartialEq for OobData
Auto Trait Implementations§
impl Freeze for OobData
impl RefUnwindSafe for OobData
impl Send for OobData
impl Sync for OobData
impl Unpin for OobData
impl UnsafeUnpin for OobData
impl UnwindSafe for OobData
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