pub enum LogCmd {
Bind,
Unbind,
PfBind,
PfUnbind,
UnrecognizedConst(u8),
}
Expand description
Command value for the NfLogCfg::Cmd
.
Variants§
Implementations§
Trait Implementations§
source§impl From<LogCmd> for LogCfgCmdWrapper
impl From<LogCmd> for LogCfgCmdWrapper
source§impl Ord for LogCmd
impl Ord for LogCmd
source§impl PartialEq<LogCmd> for LogCmd
impl PartialEq<LogCmd> for LogCmd
source§impl PartialOrd<LogCmd> for LogCmd
impl PartialOrd<LogCmd> for LogCmd
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Size for LogCmd
impl Size for LogCmd
source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.