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
last: u8
reserved1: u8
transform_length: u16
transform_type: IkeTransformType
reserved2: u8
transform_id: u16
attributes: Option<&'a [u8]>
Trait Implementations
impl<'a> Clone for IkeV2RawTransform<'a>
[src]
fn clone(&self) -> IkeV2RawTransform<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> PartialEq for IkeV2RawTransform<'a>
[src]
fn eq(&self, __arg_0: &IkeV2RawTransform<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IkeV2RawTransform<'a>) -> bool
[src]
This method tests for !=
.