pub enum LogAttrs<'a> {
Group(u16),
Prefix(&'a CStr),
Snaplen(u32),
Qthreshold(u16),
Level(u32),
Flags(u32),
}Available on crate feature
nftables only.Variants§
Group(u16)
netlink group to send messages to
Prefix(&'a CStr)
prefix to prepend to log messages
Snaplen(u32)
length of payload to include in netlink message
Qthreshold(u16)
queue threshold
Level(u32)
log level Associated type: “LogLevel” (enum)
Flags(u32)
logging flags Associated type: “LogFlags” (enum)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LogAttrs<'a>
impl<'a> RefUnwindSafe for LogAttrs<'a>
impl<'a> Send for LogAttrs<'a>
impl<'a> Sync for LogAttrs<'a>
impl<'a> Unpin for LogAttrs<'a>
impl<'a> UnwindSafe for LogAttrs<'a>
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