Struct ipsec_parser::IkeV2PayloadHeader [] [src]

pub struct IkeV2PayloadHeader {
    pub next_payload_type: IkePayloadType,
    pub critical: bool,
    pub reserved: u8,
    pub payload_length: u16,
}

Generic Payload Header

Defined in RFC7296 section 3.2

Fields

Trait Implementations

impl Clone for IkeV2PayloadHeader
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for IkeV2PayloadHeader
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for IkeV2PayloadHeader
[src]

[src]

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

[src]

This method tests for !=.