pub struct PushCtrlAttrs<Prev: Rec> { /* private fields */ }Available on crate feature
nlctrl only.Implementations§
Source§impl<Prev: Rec> PushCtrlAttrs<Prev>
impl<Prev: Rec> PushCtrlAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_family_id(self, value: u16) -> Self
pub fn push_family_name(self, value: &CStr) -> Self
pub fn push_family_name_bytes(self, value: &[u8]) -> Self
pub fn push_version(self, value: u32) -> Self
pub fn push_hdrsize(self, value: u32) -> Self
pub fn push_maxattr(self, value: u32) -> Self
pub fn array_ops(self) -> PushArrayOpAttrs<Self>
pub fn array_mcast_groups(self) -> PushArrayMcastGroupAttrs<Self>
pub fn nested_policy(self) -> PushPolicyAttrs<Self>
pub fn nested_op_policy(self) -> PushOpPolicyAttrs<Self>
pub fn push_op(self, value: u32) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushCtrlAttrs<Prev>
impl<Prev: Rec> Drop for PushCtrlAttrs<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushCtrlAttrs<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushCtrlAttrs<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushCtrlAttrs<Prev>where
Prev: Send,
impl<Prev> Sync for PushCtrlAttrs<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushCtrlAttrs<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushCtrlAttrs<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