pub struct RtmsgBuilder { /* private fields */ }
Expand description
Builder for Rtmsg
.
Implementations§
Source§impl RtmsgBuilder
impl RtmsgBuilder
Sourcepub fn rtm_family(self, value: RtAddrFamily) -> Self
pub fn rtm_family(self, value: RtAddrFamily) -> Self
Address family of route
Sourcepub fn rtm_dst_len(self, value: c_uchar) -> Self
pub fn rtm_dst_len(self, value: c_uchar) -> Self
Length of destination
Sourcepub fn rtm_src_len(self, value: c_uchar) -> Self
pub fn rtm_src_len(self, value: c_uchar) -> Self
Length of source
Sourcepub fn rtm_protocol(self, value: Rtprot) -> Self
pub fn rtm_protocol(self, value: Rtprot) -> Self
Routing protocol
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtmsgBuilder
impl RefUnwindSafe for RtmsgBuilder
impl Send for RtmsgBuilder
impl Sync for RtmsgBuilder
impl Unpin for RtmsgBuilder
impl UnwindSafe for RtmsgBuilder
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