Struct ipsec_parser::NotifyPayload [] [src]

pub struct NotifyPayload<'a> {
    pub protocol_id: u8,
    pub spi_size: u8,
    pub notify_type: u16,
    pub spi: Option<&'a [u8]>,
    pub notify_data: Option<&'a [u8]>,
}

Defined in [RFC7296] section 3.10

Fields

Trait Implementations

impl<'a> PartialEq for NotifyPayload<'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 !=.

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

[src]

Formats the value using the given formatter.