Struct ipsec_parser::IkeV2Proposal
[−]
[src]
pub struct IkeV2Proposal<'a> { pub last: u8, pub reserved: u8, pub proposal_length: u16, pub proposal_num: u8, pub protocol_id: u8, pub spi_size: u8, pub num_transforms: u8, pub spi: Option<&'a [u8]>, pub transforms: Vec<IkeV2RawTransform<'a>>, }
Defined in [RFC7296]
Fields
last: u8
reserved: u8
proposal_length: u16
proposal_num: u8
protocol_id: u8
spi_size: u8
num_transforms: u8
spi: Option<&'a [u8]>
transforms: Vec<IkeV2RawTransform<'a>>
Trait Implementations
impl<'a> Clone for IkeV2Proposal<'a>
[src]
fn clone(&self) -> IkeV2Proposal<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for IkeV2Proposal<'a>
[src]
impl<'a> PartialEq for IkeV2Proposal<'a>
[src]
fn eq(&self, __arg_0: &IkeV2Proposal<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IkeV2Proposal<'a>) -> bool
[src]
This method tests for !=
.