Struct ipsec_parser::IkeV2RawTransform [] [src]

pub struct IkeV2RawTransform<'a> {
    pub last: u8,
    pub reserved1: u8,
    pub transform_length: u16,
    pub transform_type: IkeTransformType,
    pub reserved2: u8,
    pub transform_id: u16,
    pub attributes: Option<&'a [u8]>,
}

Raw representation of a transform (cryptographic algorithm) and parameters

Use the From method to convert it to a IkeV2Transform

Defined in RFC7296 section 3.3

Fields

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> PartialEq for IkeV2RawTransform<'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 IkeV2RawTransform<'a>
[src]

[src]

Formats the value using the given formatter.