Trait wasmtime_wasi::bindings::filesystem::preopens::Host
source · pub trait Host: Send {
// 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.