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
Auto Trait Implementations
impl RefUnwindSafe for TrimSgxPages
impl !Send for TrimSgxPages
impl !Sync for TrimSgxPages
impl Unpin for TrimSgxPages
impl UnwindSafe for TrimSgxPages
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