pub trait AsyncSegmentReader:
'static
+ Send
+ Sync {
// Required method
fn get<'life0, 'async_trait>(
&'life0 self,
id: SegmentId,
) -> Pin<Box<dyn Future<Output = VortexResult<ByteBuffer>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn get<'life0, 'async_trait>(
&'life0 self,
id: SegmentId,
) -> Pin<Box<dyn Future<Output = VortexResult<ByteBuffer>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'async_trait>(
&'life0 self,
id: SegmentId,
) -> Pin<Box<dyn Future<Output = VortexResult<ByteBuffer>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Attempt to get the data associated with a given segment ID.