Struct wasmtime_wasi::Wasi[][src]

pub struct Wasi { /* fields omitted */ }

An instantiated instance of all available wasi exports. Presently includes both the “preview1” snapshot and the “unstable” (preview0) snapshot.

Implementations

impl Wasi[src]

pub fn new(store: &Store, context: WasiCtx) -> Self[src]

pub fn add_to_linker(&self, linker: &mut Linker) -> Result<(), Error>[src]

pub fn add_to_config(config: &mut Config)[src]

pub fn set_context(store: &Store, context: WasiCtx) -> Result<(), WasiCtx>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Wasi

impl !Send for Wasi

impl !Sync for Wasi

impl Unpin for Wasi

impl !UnwindSafe for Wasi

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> Pointee for T[src]

type Pointer = u32

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<V, T> VZip<V> for T where
    V: MultiLane<T>,