pub trait SupportBundleAccessor: Send {
// Required methods
fn get_index<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SupportBundleIndex>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file<'a, 'life0, 'life1, 'async_trait>(
&'life0 mut self,
path: &'life1 Utf8Path,
) -> Pin<Box<dyn Future<Output = Result<BoxedFileAccessor<'a>>> + Send + 'async_trait>>
where Self: 'a + 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Describes how the support bundle’s data and metadata are accessed.
Required Methods§
Sourcefn get_index<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SupportBundleIndex>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_index<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SupportBundleIndex>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Access the index of a support bundle
Sourcefn get_file<'a, 'life0, 'life1, 'async_trait>(
&'life0 mut self,
path: &'life1 Utf8Path,
) -> Pin<Box<dyn Future<Output = Result<BoxedFileAccessor<'a>>> + Send + 'async_trait>>where
Self: 'a + 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_file<'a, 'life0, 'life1, 'async_trait>(
&'life0 mut self,
path: &'life1 Utf8Path,
) -> Pin<Box<dyn Future<Output = Result<BoxedFileAccessor<'a>>> + Send + 'async_trait>>where
Self: 'a + 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Access a file within the support bundle