Skip to main content

EventIter

Trait EventIter 

Source
pub trait EventIter: Send {
    // Required method
    fn next(&mut self) -> Result<Option<(u64, Vec<u8>)>, AzothError>;
}
Expand description

Iterator over events in the canonical store

Required Methods§

Source

fn next(&mut self) -> Result<Option<(u64, Vec<u8>)>, AzothError>

Get the next event

Returns None when iteration is complete

Implementations on Foreign Types§

Source§

impl EventIter for LmdbEventIter

Source§

fn next(&mut self) -> Result<Option<(u64, Vec<u8>)>, AzothError>

Implementors§