pub struct OpPagePoolGetDo<'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> OpPagePoolGetDo<'r>
impl<'r> OpPagePoolGetDo<'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 OpPagePoolGetDo<'r>
impl<'r> Debug for OpPagePoolGetDo<'r>
Source§impl NetlinkRequest for OpPagePoolGetDo<'_>
impl NetlinkRequest for OpPagePoolGetDo<'_>
type ReplyType<'buf> = IterablePagePool<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpPagePoolGetDo<'r>
impl<'r> Freeze for OpPagePoolGetDo<'r>
impl<'r> RefUnwindSafe for OpPagePoolGetDo<'r>
impl<'r> Send for OpPagePoolGetDo<'r>
impl<'r> Sync for OpPagePoolGetDo<'r>
impl<'r> Unpin for OpPagePoolGetDo<'r>
impl<'r> UnsafeUnpin for OpPagePoolGetDo<'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