pub struct ProcessedBloopSink<R: BloopRepository> { /* private fields */ }Expand description
A sink that buffers processed bloops and persists them in batches.
Implementations§
Source§impl<R: BloopRepository> ProcessedBloopSink<R>
impl<R: BloopRepository> ProcessedBloopSink<R>
Sourcepub async fn process_events(&mut self)
pub async fn process_events(&mut self)
Processes incoming events, buffering bloops and persisting in batches.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for ProcessedBloopSink<R>where
R: Freeze,
impl<R> RefUnwindSafe for ProcessedBloopSink<R>where
R: RefUnwindSafe,
impl<R> Send for ProcessedBloopSink<R>where
R: Send,
impl<R> Sync for ProcessedBloopSink<R>where
R: Sync,
impl<R> Unpin for ProcessedBloopSink<R>where
R: Unpin,
impl<R> UnwindSafe for ProcessedBloopSink<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more