pub struct Reader {
pub source: Source,
pub bytes_read: u64,
pub decoded_events: usize,
/* private fields */
}Expand description
A selected reader owns its ephemeral text/row files. Dropping or resetting it removes them.
Fields§
§source: Source§bytes_read: u64§decoded_events: usizeImplementations§
Source§impl Reader
impl Reader
pub fn new(source: Source) -> Self
pub fn commit(&mut self, width: usize)
pub fn id(&self) -> &SessionId
Sourcepub fn step(
&mut self,
width: usize,
height: usize,
position: Position,
) -> Window
pub fn step( &mut self, width: usize, height: usize, position: Position, ) -> Window
Chunk scan and disk layout are bounded; the one-time typed decode of a completed record necessarily allocates its Event and formatted text, then releases both.
pub fn step_expanded( &mut self, width: usize, height: usize, position: Position, expanded: &BTreeSet<BlockId>, ) -> Window
Auto Trait Implementations§
impl Freeze for Reader
impl RefUnwindSafe for Reader
impl Send for Reader
impl Sync for Reader
impl Unpin for Reader
impl UnsafeUnpin 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