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]>,
}
Expand description
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
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for IkeV2RawTransform<'a>
impl<'a> Send for IkeV2RawTransform<'a>
impl<'a> Sync for IkeV2RawTransform<'a>
impl<'a> Unpin for IkeV2RawTransform<'a>
impl<'a> UnwindSafe for IkeV2RawTransform<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more