pub trait Host: Send {
    // Required method
    fn get_directories(
        &mut self,
    ) -> impl Future<Output = Result<Vec<(Resource<Descriptor>, String)>>> + Send;
}Required Methods§
Sourcefn get_directories(
    &mut self,
) -> impl Future<Output = Result<Vec<(Resource<Descriptor>, String)>>> + Send
 
fn get_directories( &mut self, ) -> impl Future<Output = Result<Vec<(Resource<Descriptor>, String)>>> + Send
Return the set of preopened directories, and their path.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
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,
) -> impl Future<Output = Result<Vec<(Resource<Descriptor>, String)>>> + Send
 
fn get_directories( &mut self, ) -> impl Future<Output = Result<Vec<(Resource<Descriptor>, String)>>> + Send
Return the set of preopened directories, and their path.