Struct ipsec_parser::ProtocolID [−][src]
pub struct ProtocolID(pub u8);
Expand description
Protocol type: IKE, AH or ESP
Defined in RFC7296 section 3.3.1
Tuple Fields
0: u8
Implementations
Trait Implementations
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 RefUnwindSafe for ProtocolID
impl Send for ProtocolID
impl Sync for ProtocolID
impl Unpin for ProtocolID
impl UnwindSafe for ProtocolID
Blanket Implementations
Mutably borrows from an owned value. Read more