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 PartialOrd for LogCmd
impl PartialOrd for LogCmd
Source§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.
impl Copy for LogCmd
impl Eq for LogCmd
impl LogCfgCmd for LogCmd
impl StructuralPartialEq for LogCmd
Auto Trait Implementations§
impl Freeze for LogCmd
impl RefUnwindSafe for LogCmd
impl Send for LogCmd
impl Sync for LogCmd
impl Unpin for LogCmd
impl UnwindSafe for LogCmd
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