pub enum StreamEntry {
EndBlock,
SubBlock(Block),
Record(Record),
}
Expand description
The kinds of entries we can see while advancing through the bitstream.
Abbreviations are handled transparently by the parser, and thus are
never surfaced as StreamEntry
values.
Variants§
EndBlock
The end of a block scope.
SubBlock(Block)
The beginning of a new block scope, for a block with the given ID.
Record(Record)
The beginning of a new record within the current scope, with the given abbreviation ID.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamEntry
impl RefUnwindSafe for StreamEntry
impl Send for StreamEntry
impl Sync for StreamEntry
impl Unpin for StreamEntry
impl UnwindSafe for StreamEntry
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