Trait wasmtime_wasi::bindings::sync::filesystem::preopens::Host

source ·
pub trait Host: Send {
    // Required method
    fn get_directories(&mut self) -> Result<Vec<(Resource<Descriptor>, String)>>;
}

Required Methods§

source

fn get_directories(&mut self) -> Result<Vec<(Resource<Descriptor>, String)>>

Return the set of preopened directories, and their path.

Implementations on Foreign Types§

source§

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

source§

fn get_directories(&mut self) -> Result<Vec<(Resource<Descriptor>, String)>>

Return the set of preopened directories, and their path.

Implementors§

source§

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