pub struct Reader {
pub source: Source,
pub bytes_read: u64,
/* private fields */
}Expand description
A selected reader owns its ephemeral text/row files. Dropping or resetting it removes them.
Fields§
§source: Source§bytes_read: u64Implementations§
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 Forget for Reader
impl Freeze for Readerwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
I32NotAllOnes: Freeze,
PhantomData<(u64, usize)>: Freeze,
PhantomData<Text>: Freeze,
PhantomData<Rows>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Segment>: Freeze,
*const LeafNode<BlockId, Group> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(BlockId, Group)>>: Freeze,
*const LeafNode<(Option<usize>, Correlation), (BlockId, usize)> is !null: Freeze,
PhantomData<Box<((Option<usize>, Correlation), (BlockId, usize))>>: Freeze,
*const LeafNode<BlockId, SetValZST> is !null: Freeze,
PhantomData<Box<(BlockId, SetValZST)>>: Freeze,
*const LeafNode<String, OwnerValue> is !null: Freeze,
PhantomData<Box<(String, OwnerValue)>>: Freeze,
*const LeafNode<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock> is !null: Freeze,
PhantomData<Box<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>>: Freeze,
*const LeafNode<(Option<usize>, usize), SetValZST> is !null: Freeze,
PhantomData<Box<((Option<usize>, usize), SetValZST)>>: Freeze,
impl Move for Reader
impl RefUnwindSafe for Readerwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for Readerwhere
RawVecInner: Send,
I32NotAllOnes: Send,
NodeRef<Owned, BlockId, Group, LeafOrInternal>: Send,
BoxRaw<(BlockId, Group)>: Send,
NodeRef<Owned, (Option<usize>, Correlation), (BlockId, usize), LeafOrInternal>: Send,
BoxRaw<((Option<usize>, Correlation), (BlockId, usize))>: Send,
NodeRef<Owned, BlockId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(BlockId, SetValZST)>: Send,
NodeRef<Owned, String, OwnerValue, LeafOrInternal>: Send,
BoxRaw<(String, OwnerValue)>: Send,
NodeRef<Owned, (Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock, LeafOrInternal>: Send,
BoxRaw<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>: Send,
NodeRef<Owned, (Option<usize>, usize), SetValZST, LeafOrInternal>: Send,
BoxRaw<((Option<usize>, usize), SetValZST)>: Send,
impl Sync for Readerwhere
RawVecInner: Sync,
I32NotAllOnes: Sync,
NodeRef<Owned, BlockId, Group, LeafOrInternal>: Sync,
BoxRaw<(BlockId, Group)>: Sync,
NodeRef<Owned, (Option<usize>, Correlation), (BlockId, usize), LeafOrInternal>: Sync,
BoxRaw<((Option<usize>, Correlation), (BlockId, usize))>: Sync,
NodeRef<Owned, BlockId, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(BlockId, SetValZST)>: Sync,
NodeRef<Owned, String, OwnerValue, LeafOrInternal>: Sync,
BoxRaw<(String, OwnerValue)>: Sync,
NodeRef<Owned, (Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock, LeafOrInternal>: Sync,
BoxRaw<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>: Sync,
NodeRef<Owned, (Option<usize>, usize), SetValZST, LeafOrInternal>: Sync,
BoxRaw<((Option<usize>, usize), SetValZST)>: Sync,
impl Unpin for Readerwhere
*const u8 is !null: Unpin,
I32NotAllOnes: Unpin,
*const LeafNode<BlockId, Group> is !null: Unpin,
Box<(BlockId, Group)>: Unpin,
*const LeafNode<(Option<usize>, Correlation), (BlockId, usize)> is !null: Unpin,
Box<((Option<usize>, Correlation), (BlockId, usize))>: Unpin,
*const LeafNode<BlockId, SetValZST> is !null: Unpin,
Box<(BlockId, SetValZST)>: Unpin,
*const LeafNode<String, OwnerValue> is !null: Unpin,
Box<(String, OwnerValue)>: Unpin,
*const LeafNode<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock> is !null: Unpin,
Box<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>: Unpin,
*const LeafNode<(Option<usize>, usize), SetValZST> is !null: Unpin,
Box<((Option<usize>, usize), SetValZST)>: Unpin,
impl UnsafeUnpin for Readerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
PhantomData<(u64, usize)>: UnsafeUnpin,
PhantomData<Text>: UnsafeUnpin,
PhantomData<Rows>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
*const LeafNode<BlockId, Group> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(BlockId, Group)>>: UnsafeUnpin,
*const LeafNode<(Option<usize>, Correlation), (BlockId, usize)> is !null: UnsafeUnpin,
PhantomData<Box<((Option<usize>, Correlation), (BlockId, usize))>>: UnsafeUnpin,
*const LeafNode<BlockId, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(BlockId, SetValZST)>>: UnsafeUnpin,
*const LeafNode<String, OwnerValue> is !null: UnsafeUnpin,
PhantomData<Box<(String, OwnerValue)>>: UnsafeUnpin,
*const LeafNode<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock> is !null: UnsafeUnpin,
PhantomData<Box<((Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock)>>: UnsafeUnpin,
*const LeafNode<(Option<usize>, usize), SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<((Option<usize>, usize), SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for Readerwhere
RawVecInner: UnwindSafe,
I32NotAllOnes: UnwindSafe,
BTreeMap<BlockId, Group>: UnwindSafe,
BTreeMap<(Option<usize>, Correlation), (BlockId, usize)>: UnwindSafe,
BTreeMap<BlockId, SetValZST>: UnwindSafe,
BTreeMap<String, OwnerValue>: UnwindSafe,
BTreeMap<(Option<usize>, usize, usize, DeliveryKind, DeliveryBlock), LiveBlock>: UnwindSafe,
BTreeMap<(Option<usize>, usize), SetValZST>: UnwindSafe,
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