pub struct TcmsgBuilder { /* private fields */ }
Expand description
Builder for Tcmsg
.
Implementations§
Source§impl TcmsgBuilder
impl TcmsgBuilder
Sourcepub fn tcm_family(self, value: c_uchar) -> Self
pub fn tcm_family(self, value: c_uchar) -> Self
Family
Sourcepub fn tcm_ifindex(self, value: c_int) -> Self
pub fn tcm_ifindex(self, value: c_int) -> Self
Interface index
Sourcepub fn tcm_handle(self, value: u32) -> Self
pub fn tcm_handle(self, value: u32) -> Self
Queuing discipline handle
Sourcepub fn tcm_parent(self, value: u32) -> Self
pub fn tcm_parent(self, value: u32) -> Self
Parent queuing discipline
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcmsgBuilder
impl RefUnwindSafe for TcmsgBuilder
impl Send for TcmsgBuilder
impl Sync for TcmsgBuilder
impl Unpin for TcmsgBuilder
impl UnwindSafe for TcmsgBuilder
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