#[repr(u8)]pub enum MessageType {
Show 16 variants
Reserved = 0,
GetSpi = 1,
Update = 2,
Add = 3,
Delete = 4,
Get = 5,
Acquire = 6,
Register = 7,
Expire = 8,
Flush = 9,
Dump = 10,
Promisc = 11,
InverseAcquire = 12,
UpdatePair = 13,
DelPair = 14,
DelPairState = 15,
}
Expand description
PF_KEY message types.
Variants§
Reserved = 0
GetSpi = 1
Update = 2
Add = 3
Delete = 4
Get = 5
Acquire = 6
Register = 7
Expire = 8
Flush = 9
Dump = 10
Promisc = 11
InverseAcquire = 12
UpdatePair = 13
DelPair = 14
DelPairState = 15
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageType
impl Debug for MessageType
Source§impl From<MessageType> for u8
impl From<MessageType> for u8
Source§fn from(enum_value: MessageType) -> Self
fn from(enum_value: MessageType) -> Self
Converts to this type from the input type.
Source§impl TryFrom<u8> for MessageType
impl TryFrom<u8> for MessageType
Source§impl TryFromPrimitive for MessageType
impl TryFromPrimitive for MessageType
impl Copy for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more