[][src]Struct utimeseries::BlockIterator

pub struct BlockIterator<T, R> { /* fields omitted */ }

An iterator over all blocks in a time series.

Methods

impl<T: Sized + Copy, R: Read + Seek> BlockIterator<T, R>[src]

pub fn into_inner(self) -> TimeseriesReader<T, R>[src]

Returns the underlying TimeseriesReader.

pub fn refresh(&mut self) -> Result<(), Error>[src]

Refreshes the underlying TimeseriesReader, so that new blocks become available.

Trait Implementations

impl<T, R> Iterator for BlockIterator<T, R> where
    T: Copy + Sized,
    R: Read + Seek
[src]

type Item = Result<(Duration, Vec<T>), Error>

The type of the elements being iterated over.

Auto Trait Implementations

impl<T, R> RefUnwindSafe for BlockIterator<T, R> where
    R: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, R> Send for BlockIterator<T, R> where
    R: Send,
    T: Send

impl<T, R> Sync for BlockIterator<T, R> where
    R: Sync,
    T: Sync

impl<T, R> Unpin for BlockIterator<T, R> where
    R: Unpin,
    T: Unpin

impl<T, R> UnwindSafe for BlockIterator<T, R> where
    R: UnwindSafe,
    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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.