pub struct OpPagePoolGetDump<'r> { /* private fields */ }Available on crate feature
netdev only.Expand description
Get / dump information about Page Pools. Only Page Pools associated by the driver with a net_device can be listed. ifindex will not be reported if the net_device no longer exists.
Request attributes:
Reply attributes:
Implementations§
Source§impl<'r> OpPagePoolGetDump<'r>
impl<'r> OpPagePoolGetDump<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushPagePool<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushPagePool<&mut Vec<u8>>
pub fn into_encoder(self) -> PushPagePool<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterablePagePool<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpPagePoolGetDump<'r>
impl<'r> Debug for OpPagePoolGetDump<'r>
Source§impl NetlinkRequest for OpPagePoolGetDump<'_>
impl NetlinkRequest for OpPagePoolGetDump<'_>
type ReplyType<'buf> = IterablePagePool<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> Freeze for OpPagePoolGetDump<'r>
impl<'r> RefUnwindSafe for OpPagePoolGetDump<'r>
impl<'r> Send for OpPagePoolGetDump<'r>
impl<'r> Sync for OpPagePoolGetDump<'r>
impl<'r> Unpin for OpPagePoolGetDump<'r>
impl<'r> UnsafeUnpin for OpPagePoolGetDump<'r>
impl<'r> !UnwindSafe for OpPagePoolGetDump<'r>
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