pub enum Reader {
PrimitiveReader(TypePtr, Box<TripletIter>),
OptionReader(i16, Box<Reader>),
GroupReader(Option<TypePtr>, i16, Vec<Reader>),
RepeatedReader(TypePtr, i16, i16, Box<Reader>),
KeyValueReader(TypePtr, i16, i16, Box<Reader>, Box<Reader>),
}
Expand description
Reader tree for record assembly
Variants§
PrimitiveReader(TypePtr, Box<TripletIter>)
Primitive reader with type information and triplet iterator
OptionReader(i16, Box<Reader>)
Optional reader with definition level of a parent and a reader
GroupReader(Option<TypePtr>, i16, Vec<Reader>)
Group (struct) reader with type information, definition level and list of child readers. When it represents message type, type information is None
RepeatedReader(TypePtr, i16, i16, Box<Reader>)
Reader for repeated values, e.g. lists, contains type information, definition level, repetition level and a child reader
KeyValueReader(TypePtr, i16, i16, Box<Reader>, Box<Reader>)
Reader of key-value pairs, e.g. maps, contains type information, definition level, repetition level, child reader for keys and child reader for values
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reader
impl !RefUnwindSafe for Reader
impl Send for Reader
impl !Sync for Reader
impl Unpin for Reader
impl !UnwindSafe for Reader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more