Enum shrev::EventReadData [] [src]

pub enum EventReadData<'a, T: 'a> {
    Data(StorageIterator<'a, T>),
    Overflow(StorageIterator<'a, T>, usize),
}

Wrapper for read data. Needed because of overflow situations.

Variants

Normal read scenario, only contains an Iterator over the data.

Overflow scenario, contains an Iterator for the recovered data, and an indicator of how much data was lost.