ApplyCursor

Trait ApplyCursor 

Source
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.

Required Methods§

Source

fn apply(&mut self, envelope: &E) -> Result<(), EnvelopeError>

applies an envelope to a cursor

Implementations on Foreign Types§

Source§

impl<'a, E: Envelope<'a>> ApplyCursor<E> for TopicCursor

Source§

fn apply(&mut self, envelope: &E) -> Result<(), EnvelopeError>

Implementors§