[][src]Struct tdb_core::dtf::file_format::iterators::DTFBufReader

pub struct DTFBufReader<T: Read + Seek> { /* fields omitted */ }

BufReader for DTF files with batch block of size block_size

Methods

impl<T: Read + Seek> DTFBufReader<T>[src]

pub fn with_offset(rdr: T, offset: usize) -> Self[src]

start at i-th update in file

pub fn new(rdr: T) -> Self[src]

create a new DTFBufReader

pub fn reset(&mut self)[src]

reset iterator

pub fn current_update_index(&self) -> u32[src]

Get 0-indexed update position of cursor in the file

pub fn to_end(self) -> Self[src]

set last update index to read

pub fn to(self, i: u32) -> Self[src]

set last update index to read

Trait Implementations

impl<T: Clone + Read + Seek> Clone for DTFBufReader<T>[src]

impl<T: Debug + Read + Seek> Debug for DTFBufReader<T>[src]

impl<'a, T: Read + Seek> Iterator for &'a mut DTFBufReader<T>[src]

type Item = Update

The type of the elements being iterated over.

Auto Trait Implementations

impl<T> RefUnwindSafe for DTFBufReader<T> where
    T: RefUnwindSafe

impl<T> Send for DTFBufReader<T> where
    T: Send

impl<T> Sync for DTFBufReader<T> where
    T: Sync

impl<T> Unpin for DTFBufReader<T> where
    T: Unpin

impl<T> UnwindSafe for DTFBufReader<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,