Skip to main content

BloopRepository

Trait BloopRepository 

Source
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§

Source

type Error: Debug + Display + Send + Sync + 'static

Required Methods§

Source

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.

Implementors§