Expand description
Request an additional memory region.
Fields
size_exponent: usize
Page size expressed as an exponent of 2.
pages: usize
Number of pages to allocate.
addr: *mut c_void
Guest physical address where the memory should be allocated.
Trait Implementations
sourceimpl PassthroughAlloc for BalloonMemory
impl PassthroughAlloc for BalloonMemory
Auto Trait Implementations
impl RefUnwindSafe for BalloonMemory
impl !Send for BalloonMemory
impl !Sync for BalloonMemory
impl Unpin for BalloonMemory
impl UnwindSafe for BalloonMemory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, K, T> Call<'a, Alloc<K>> for T where
K: Kind,
T: Alloc<'a, K>,
impl<'a, K, T> Call<'a, Alloc<K>> for T where
K: Kind,
T: Alloc<'a, K>,
type Staged = StagedCall<'a, K, T>
type Staged = StagedCall<'a, K, T>
Opaque staged value, which returns Self::Committed
when committed via Commit::commit
. Read more
type Committed = CommittedCall<'a, K, T>
type Committed = CommittedCall<'a, K, T>
Opaque committed value returned by Commit::commit
called upon Self::Staged
,
which is, in turn, passed to Collect::collect
to yield a Self::Collected
. Read more