pub trait EnclaveMemory<T> {
    // Required methods
    fn is_within_enclave(&self) -> bool;
    fn is_outside_enclave(&self) -> bool;
}
Expand description

Behavior for determining where memory values are at.

Required Methods§

source

fn is_within_enclave(&self) -> bool

Is the item fully within the enclave’s memory space?

source

fn is_outside_enclave(&self) -> bool

Is the item fully outside of the enclave’s memory space?

Implementors§

source§

impl<T: AsRef<[u8]>> EnclaveMemory<T> for T