[][src]Struct enclave_runner::Library

pub struct Library { /* fields omitted */ }

Methods

impl Library
[src]

pub fn new<P: AsRef<Path>, L: Load>(
    enclave_path: P,
    loader: &mut L
) -> Result<Library, Error>
[src]

pub unsafe fn call(
    &self,
    p1: u64,
    p2: u64,
    p3: u64,
    p4: u64,
    p5: u64
) -> Result<(u64, u64), Error>
[src]

If this library's TCSs are all currently servicing other calls, this function will block until a TCS becomes available.

Safety

The caller must ensure that the parameters passed-in match what the enclave is expecting.

Trait Implementations

impl Debug for Library
[src]

impl MappingInfo for Library
[src]

Auto Trait Implementations

impl !Send for Library

impl !Sync for Library

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]