pub struct NlmsghdrBuilder<T, P> { /* private fields */ }
Expand description
Builder for Nlmsghdr
.
Implementations§
Source§impl<T, P> NlmsghdrBuilder<T, P>
impl<T, P> NlmsghdrBuilder<T, P>
Sourcepub fn nl_flags(self, value: NlmF) -> Self
pub fn nl_flags(self, value: NlmF) -> Self
Flags indicating properties of the request or response
Sourcepub fn nl_pid(self, value: u32) -> Self
pub fn nl_pid(self, value: u32) -> Self
ID of the netlink destination for requests and source for responses.
Sourcepub fn nl_payload(self, value: NlPayload<T, P>) -> Self
pub fn nl_payload(self, value: NlPayload<T, P>) -> Self
Payload of netlink message
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for NlmsghdrBuilder<T, P>
impl<T, P> RefUnwindSafe for NlmsghdrBuilder<T, P>where
T: RefUnwindSafe,
P: RefUnwindSafe,
impl<T, P> Send for NlmsghdrBuilder<T, P>
impl<T, P> Sync for NlmsghdrBuilder<T, P>
impl<T, P> Unpin for NlmsghdrBuilder<T, P>
impl<T, P> UnwindSafe for NlmsghdrBuilder<T, P>where
T: UnwindSafe,
P: 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