[][src]Struct ipsec_parser::ESPHeader

pub struct ESPHeader<'a> {
    pub spi_index: &'a [u8],
    pub seq: u32,
    pub data: &'a [u8],
}

Encapsulating Security Payload Packet Format

Defined in RFC2406 section 2

Fields

spi_index: &'a [u8]seq: u32data: &'a [u8]

Trait Implementations

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

Auto Trait Implementations

impl<'a> Sync for ESPHeader<'a>

impl<'a> Send for ESPHeader<'a>

impl<'a> Unpin for ESPHeader<'a>

impl<'a> RefUnwindSafe for ESPHeader<'a>

impl<'a> UnwindSafe for ESPHeader<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]