Trait BloopRepository

Source
pub trait BloopRepository {
    type Error: Debug + Display + Send + Sync + 'static;

    // Required method
    fn persist_batch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        bloops: &'life1 [ProcessedBloop],
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
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<'life0, 'life1, 'async_trait>( &'life0 self, bloops: &'life1 [ProcessedBloop], ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§