Trait sgxs::loader::Load[][src]

pub trait Load {
    type MappingInfo: MappingInfo;
    type Tcs: Tcs;
    fn load<R: SgxsRead>(
        &mut self,
        reader: &mut R,
        sigstruct: &Sigstruct,
        attributes: Attributes,
        miscselect: Miscselect
    ) -> Result<Mapping<Self>, Error>; }
Expand description

An interface that is able to load an enclave into memory.

Associated Types

Required methods

Load an enclave.

The enclave will be unloaded once all returned values are dropped.

Implementors