pub enum NfLogCfg {
Cmd,
Mode,
NlBufSize,
Timeout,
QThresh,
Flags,
UnrecognizedConst(u16),
}
Expand description
Configuration attributes for netfilter logging.
Variants§
Implementations§
Trait Implementations§
Source§impl From<NfLogCfg> for NlAttrTypeWrapper
impl From<NfLogCfg> for NlAttrTypeWrapper
Source§impl Ord for NfLogCfg
impl Ord for NfLogCfg
Source§impl PartialOrd for NfLogCfg
impl PartialOrd for NfLogCfg
Source§impl Size for NfLogCfg
impl Size for NfLogCfg
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 NfLogCfg
impl Eq for NfLogCfg
impl NlAttrType for NfLogCfg
impl StructuralPartialEq for NfLogCfg
Auto Trait Implementations§
impl Freeze for NfLogCfg
impl RefUnwindSafe for NfLogCfg
impl Send for NfLogCfg
impl Sync for NfLogCfg
impl Unpin for NfLogCfg
impl UnwindSafe for NfLogCfg
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