Skip to main content

FallibleBatchFeed

Trait FallibleBatchFeed 

Source
pub trait FallibleBatchFeed {
    type Error;

    // Required method
    fn next_batch(&mut self) -> Result<Option<TimestampBatch>, Self::Error>;
}
Expand description

Fallible source of complete timestamp batches.

Required Associated Types§

Required Methods§

Source

fn next_batch(&mut self) -> Result<Option<TimestampBatch>, Self::Error>

Return every event at the next timestamp, or None at end of input.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<F> FallibleBatchFeed for Box<F>

Implementors§