Trait infinitree::index::FieldReader
source · pub trait FieldReader: Send {
// Required method
fn read_next<T: DeserializeOwned>(&mut self) -> Result<T>;
}
Expand description
Allows deserializing an infinite collection by reading records one by one.
Required Methods§
sourcefn read_next<T: DeserializeOwned>(&mut self) -> Result<T>
fn read_next<T: DeserializeOwned>(&mut self) -> Result<T>
Read the next available record from storage.