pub struct BalloonMemory {
    pub size_exponent: usize,
    pub pages: usize,
    pub addr: *mut c_void,
}
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

Enarx call number. Read more

The Enarx call argument vector. Read more

Enarx call return value. Read more

Returns argument vector registers.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Opaque staged value, which returns Self::Committed when committed via Commit::commit. Read more

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

Value call collects as. Read more

Allocate data, if necessary and return resulting opaque staged value on success.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.