pub trait Processor {
type Value: Send + Sync + 'static;
const NAME: &'static str;
const FANOUT: usize = 10usize;
// Required method
fn process(
&self,
checkpoint: &Arc<CheckpointData>,
) -> Result<Vec<Self::Value>>;
}
Expand description
Implementors of this trait are responsible for transforming checkpoint into rows for their
table. The FANOUT
associated value controls how many concurrent workers will be used to
process checkpoint information.
Required Associated Constants§
Provided Associated Constants§
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.