pub struct PushPagePoolInfo<Prev: Rec> { /* private fields */ }Available on crate feature
netdev only.Implementations§
Source§impl<Prev: Rec> PushPagePoolInfo<Prev>
impl<Prev: Rec> PushPagePoolInfo<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
ifindex of the netdev to which the pool belongs. May not be reported if the page pool was allocated for a netdev which got destroyed already (page pools may outlast their netdevs because they wait for all memory to be returned).
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushPagePoolInfo<Prev>
impl<Prev: Rec> Drop for PushPagePoolInfo<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushPagePoolInfo<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushPagePoolInfo<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushPagePoolInfo<Prev>where
Prev: Send,
impl<Prev> Sync for PushPagePoolInfo<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushPagePoolInfo<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushPagePoolInfo<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushPagePoolInfo<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