Trait wasmtime_wasi::preview2::bindings::wasi::filesystem::preopens::Host

source ·
pub trait Host {
    // 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.

Implementors§

source§

impl<T: WasiView> Host for T