pub trait FileSave<'en>: Send + Sync + Sized + 'static {
// Required method
fn save<'life0, 'async_trait>(
&'en self,
file: &'life0 mut File
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'en: 'async_trait,
'life0: 'async_trait;
}
Expand description
Write a file-backed data structure to the filesystem.
Required Methods§
Object Safety§
This trait is not object safe.