pub trait DetachedWriter: Send {
// Required method
fn write_detached(
&mut self,
to: &Path,
data: Record,
) -> Pin<Box<dyn Future<Output = Result<Path, Error>> + Send>>;
}Expand description
Async writes whose futures are detached from the store.
See DetachedReader for the rationale.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".