pub trait BloopRepository {
type Error: Debug + Display + Send + Sync + 'static;
// Required method
fn persist_batch(
&self,
bloops: &[ProcessedBloop],
) -> impl Future<Output = Result<(), Self::Error>> + Send;
}Expand description
Interface for persisting processed bloops asynchronously.
Required Associated Types§
Required Methods§
fn persist_batch( &self, bloops: &[ProcessedBloop], ) -> impl Future<Output = Result<(), Self::Error>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.