pub struct PushOpDevGetDoReply<Prev: Rec> { /* private fields */ }Available on crate feature
netdev only.Expand description
Get / dump information about a netdev.
Implementations§
Source§impl<Prev: Rec> PushOpDevGetDoReply<Prev>
impl<Prev: Rec> PushOpDevGetDoReply<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_ifindex(self, value: u32) -> Self
pub fn push_ifindex(self, value: u32) -> Self
netdev ifindex
Sourcepub fn push_xdp_features(self, value: u64) -> Self
pub fn push_xdp_features(self, value: u64) -> Self
Bitmask of enabled xdp-features. Associated type: “XdpAct” (enum)
Sourcepub fn push_xdp_zc_max_segs(self, value: u32) -> Self
pub fn push_xdp_zc_max_segs(self, value: u32) -> Self
max fragment count supported by ZC driver
Sourcepub fn push_xdp_rx_metadata_features(self, value: u64) -> Self
pub fn push_xdp_rx_metadata_features(self, value: u64) -> Self
Bitmask of supported XDP receive metadata features. See Documentation/networking/xdp-rx-metadata.rst for more details. Associated type: “XdpRxMetadata” (enum)
Sourcepub fn push_xsk_features(self, value: u64) -> Self
pub fn push_xsk_features(self, value: u64) -> Self
Bitmask of enabled AF_XDP features. Associated type: “XskFlags” (enum)
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushOpDevGetDoReply<Prev>
impl<Prev: Rec> Drop for PushOpDevGetDoReply<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushOpDevGetDoReply<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushOpDevGetDoReply<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushOpDevGetDoReply<Prev>where
Prev: Send,
impl<Prev> Sync for PushOpDevGetDoReply<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushOpDevGetDoReply<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushOpDevGetDoReply<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