pub struct TrimSgxPages {
    pub addr: NonNull<c_void>,
    pub length: usize,
}
Expand description

Within an address range inside the enclave, ask host to set page type to ‘trimmed’. Address and length must be page-aligned. Shim must validate and acknowledge the changes with ENCLU[EACCEPT], in order for them to take effect.

Fields

addr: NonNull<c_void>length: usize

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.