pub trait FileLoad: Send + Sync + Sized + 'static {
// Required method
fn load<'life0, 'async_trait>(
path: &'life0 Path,
file: File,
metadata: Metadata
) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Load a file-backed data structure.
Required Methods§
Object Safety§
This trait is not object safe.