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.
Implementations on Foreign Types§
source§impl<_T: Host + ?Sized + Send> Host for &mut _T
impl<_T: Host + ?Sized + Send> Host for &mut _T
source§fn 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.