Trait fuchsia_inspect::reader::ReadableTree
source · pub trait ReadableTree: Sized {
// Required methods
fn tree_names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ReaderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn vmo<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vmo, ReaderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_tree<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Self, ReaderError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Trait implemented by structs that can provide inspect data and their lazy links.
Required Methods§
sourcefn tree_names<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ReaderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn tree_names<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ReaderError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Returns the lazy links names.