pub struct PushTableAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nftables only.Implementations§
Source§impl<Prev: Rec> PushTableAttrs<Prev>
impl<Prev: Rec> PushTableAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_name_bytes(self, value: &[u8]) -> Self
pub fn push_name_bytes(self, value: &[u8]) -> Self
name of the table
Sourcepub fn push_flags(self, value: u32) -> Self
pub fn push_flags(self, value: u32) -> Self
bitmask of flags Associated type: “TableFlags” (1 bit per enumeration)
Sourcepub fn push_handle(self, value: u64) -> Self
pub fn push_handle(self, value: u64) -> Self
numeric handle of the table
pub fn push_pad(self, value: &[u8]) -> Self
Sourcepub fn push_userdata(self, value: &[u8]) -> Self
pub fn push_userdata(self, value: &[u8]) -> Self
user data
Sourcepub fn push_owner(self, value: u32) -> Self
pub fn push_owner(self, value: u32) -> Self
owner of this table through netlink portID
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushTableAttrs<Prev>
impl<Prev: Rec> Drop for PushTableAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushTableAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushTableAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushTableAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushTableAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushTableAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushTableAttrs<Prev>where
Prev: UnwindSafe,
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