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

Trait Implementations

impl<'a> Clone for IkeV2Proposal<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for IkeV2Proposal<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for IkeV2Proposal<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.