pub struct PagePoolHandle { /* private fields */ }
Expand description
A handle for a page pool allocation. When dropped, the allocation is freed.
Implementations§
Source§impl PagePoolHandle
impl PagePoolHandle
Sourcepub fn base_pfn_without_bias(&self) -> u64
pub fn base_pfn_without_bias(&self) -> u64
The base pfn without bias for this allocation.
Sourcepub fn size_pages(&self) -> u64
pub fn size_pages(&self) -> u64
The number of 4K pages for this allocation.
Trait Implementations§
Source§impl Debug for PagePoolHandle
impl Debug for PagePoolHandle
Auto Trait Implementations§
impl Freeze for PagePoolHandle
impl !RefUnwindSafe for PagePoolHandle
impl Send for PagePoolHandle
impl Sync for PagePoolHandle
impl Unpin for PagePoolHandle
impl !UnwindSafe for PagePoolHandle
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