pub unsafe trait ContiguousMemory { }
Expand description

Trait for demonstrating one structure locates in contiguous memory.

This is required for SGX related operations, e.g. crypto related computations. Many of these APIs require the input data locates in a contiguous area of memory inside the enclave. Developer needs to implement this trait as a marker for the data structure he/she wants to feed into SGX apis.

Safety

Implementations on Foreign Types

Implementors