[][src]Struct ipsec_parser::TrafficSelectorPayload

pub struct TrafficSelectorPayload<'a> {
    pub num_ts: u8,
    pub reserved: &'a [u8],
    pub ts: Vec<TrafficSelector<'a>>,
}

Traffic Selector Payload

The Traffic Selector payload, denoted TS in this document, allows peers to identify packet flows for processing by IPsec security services. The Traffic Selector payload consists of the IKE generic payload header followed by individual Traffic Selectors.

Defined in RFC7296 section 3.13

Fields

num_ts: u8reserved: &'a [u8]ts: Vec<TrafficSelector<'a>>

Trait Implementations

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

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

Auto Trait Implementations

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]