pub trait LocateBatchFiles: Send + Sync {
type Error;
// Required method
fn locate_batch_files<'life0, 'async_trait>(
self: Arc<Self>,
index: &'life0 BatchIndex,
) -> Pin<Box<dyn Future<Output = Result<Option<BatchFileTriple>, Self::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Required Associated Types§
Required Methods§
fn locate_batch_files<'life0, 'async_trait>(
self: Arc<Self>,
index: &'life0 BatchIndex,
) -> Pin<Box<dyn Future<Output = Result<Option<BatchFileTriple>, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".