[][src]Struct lucet_runtime_internals::module::DlModule

pub struct DlModule { /* fields omitted */ }

A Lucet module backed by a dynamically-loaded shared object.

Methods

impl DlModule[src]

pub fn load<P: AsRef<Path>>(so_path: P) -> Result<Arc<Self>, Error>[src]

Create a module, loading code from a shared object on the filesystem.

pub fn load_and_verify<P: AsRef<Path>>(
    so_path: P,
    pk: PublicKey
) -> Result<Arc<Self>, Error>
[src]

Create a module, loading code from a shared object on the filesystem and verifying it using a public key if one has been supplied.

Trait Implementations

impl Module for DlModule[src]

impl ModuleInternal for DlModule[src]

impl Send for DlModule[src]

impl Sync for DlModule[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self