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§
Sourcefn next_batch(&mut self) -> Result<Option<TimestampBatch>, Self::Error>
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".