[−][src]Struct ipsec_parser::KeyExchangePayload
Key Exchange Payload
The Key Exchange payload, denoted KE in this document, is used to exchange Diffie-Hellman public numbers as part of a Diffie-Hellman key exchange. The Key Exchange payload consists of the IKE generic payload header followed by the Diffie-Hellman public value itself.
Defined in RFC7296 section 3.4
Fields
dh_group: IkeTransformDHType
reserved: u16
kex_data: &'a [u8]
Trait Implementations
impl<'a> PartialEq<KeyExchangePayload<'a>> for KeyExchangePayload<'a>
[src]
fn eq(&self, other: &KeyExchangePayload<'a>) -> bool
[src]
fn ne(&self, other: &KeyExchangePayload<'a>) -> bool
[src]
impl<'a> Debug for KeyExchangePayload<'a>
[src]
Auto Trait Implementations
impl<'a> Send for KeyExchangePayload<'a>
impl<'a> Sync for KeyExchangePayload<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,