pub trait CdcSource {
type Error: Error + Send + Sync + 'static;
// Required method
fn next_batch(&mut self) -> Result<Option<Vec<CdcEvent>>, Self::Error>;
}Expand description
Batch-oriented CDC source boundary.
Decision (Phase 1): batch-first boundary avoids forcing async/runtime choice into the crate.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".