wasmtime_wasi::bindings::cli::stdin

Trait Host

Source
pub trait Host: Send + Send {
    // Required method
    fn get_stdin(&mut self) -> Result<Resource<InputStream>>;
}

Required Methods§

Source

fn get_stdin(&mut self) -> Result<Resource<InputStream>>

Implementations on Foreign Types§

Source§

impl<_T: Host + ?Sized + Send> Host for &mut _T

Source§

fn get_stdin(&mut self) -> Result<Resource<InputStream>>

Implementors§

Source§

impl<T> Host for WasiImpl<T>
where T: WasiView,