pub trait ChangeEvent {
// Required methods
fn op(&self) -> AccessResult<ChangeEventOperation>;
fn access_field(
&self,
desc: &SourceColumnDesc,
) -> AccessResult<DatumCow<'_>>;
}
Expand description
Methods to access a CDC event.
Required Methods§
sourcefn op(&self) -> AccessResult<ChangeEventOperation>
fn op(&self) -> AccessResult<ChangeEventOperation>
Access the operation type.
sourcefn access_field(&self, desc: &SourceColumnDesc) -> AccessResult<DatumCow<'_>>
fn access_field(&self, desc: &SourceColumnDesc) -> AccessResult<DatumCow<'_>>
Access the field.