pub trait ApplyCursor<E> {
// Required method
fn apply(&mut self, envelope: &E) -> Result<(), EnvelopeError>;
}Expand description
Extension trait to modify a TopicCursor
with the contents of an envelope.
pub trait ApplyCursor<E> {
// Required method
fn apply(&mut self, envelope: &E) -> Result<(), EnvelopeError>;
}Extension trait to modify a TopicCursor
with the contents of an envelope.