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§
sourcefn get_directories(&mut self) -> Result<Vec<(Resource<Descriptor>, String)>>
fn get_directories(&mut self) -> Result<Vec<(Resource<Descriptor>, String)>>
Return the set of preopened directories, and their path.