pub struct SupportedPairMethods {
pub pairing_psk: Option<PairingPskMethod>,
pub static_pairing_code: Option<StaticPairingCodeMethod>,
pub dynamic_pairing_code: Option<DynamicPairingCodeMethod>,
}Expand description
The supported_pair_methods object of ClientHello, keyed by method identifier.
Fields§
§pairing_psk: Option<PairingPskMethod>The pairing PSK method, offered by every conformant client; absent when a peer omits it.
static_pairing_code: Option<StaticPairingCodeMethod>The static pairing code method, offered when the client has a code configured.
dynamic_pairing_code: Option<DynamicPairingCodeMethod>The dynamic pairing code method, offered when the client can derive and emit a code.
Trait Implementations§
Source§impl Clone for SupportedPairMethods
impl Clone for SupportedPairMethods
Source§impl Debug for SupportedPairMethods
impl Debug for SupportedPairMethods
Source§impl Default for SupportedPairMethods
impl Default for SupportedPairMethods
Source§impl<'de> Deserialize<'de> for SupportedPairMethods
impl<'de> Deserialize<'de> for SupportedPairMethods
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 SupportedPairMethods
Source§impl PartialEq for SupportedPairMethods
impl PartialEq for SupportedPairMethods
Source§impl Serialize for SupportedPairMethods
impl Serialize for SupportedPairMethods
impl StructuralPartialEq for SupportedPairMethods
Auto Trait Implementations§
impl Forget for SupportedPairMethods
impl Freeze for SupportedPairMethods
impl Move for SupportedPairMethods
impl RefUnwindSafe for SupportedPairMethods
impl Send for SupportedPairMethods
impl Sync for SupportedPairMethods
impl Unpin for SupportedPairMethods
impl UnsafeUnpin for SupportedPairMethods
impl UnwindSafe for SupportedPairMethods
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