pub trait CdcStream: Send {
// Required methods
fn deliver(&mut self, batch: &CdcBatch) -> Result<(), FnError>;
fn checkpoint(&mut self) -> Result<CdcLsn, FnError>;
fn shutdown(&mut self) -> Result<(), FnError>;
}Expand description
A live CDC sink instance.
Required Methods§
Sourcefn checkpoint(&mut self) -> Result<CdcLsn, FnError>
fn checkpoint(&mut self) -> Result<CdcLsn, FnError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".