[][src]Struct tsxlib::io::streaming::TimeSeriesDataPointStreamer

pub struct TimeSeriesDataPointStreamer<'a, T: Read, TDate: Hash + Copy + Eq + Ord, TDp: Display + Copy + PartialEq> { /* fields omitted */ }

Implementations

impl<'a, T: Read, TDate: Hash + Copy + Eq + Ord, TDp: Display + Copy + PartialEq> TimeSeriesDataPointStreamer<'a, T, TDate, TDp>[src]

pub fn new(
    source: &'a mut T,
    production_function: fn(_: &[u8]) -> TimeSeriesDataPoint<TDate, TDp>
) -> TimeSeriesDataPointStreamer<'a, T, TDate, TDp>

Notable traits for TimeSeriesDataPointStreamer<'a, T, TDate, TDp>

impl<'a, T: Read, TDate: Hash + Copy + Eq + Ord, TDp: Display + Copy + PartialEq> Iterator for TimeSeriesDataPointStreamer<'a, T, TDate, TDp> type Item = TimeSeriesDataPoint<TDate, TDp>;
[src]

Trait Implementations

impl<'a, T: Read, TDate: Hash + Copy + Eq + Ord, TDp: Display + Copy + PartialEq> Iterator for TimeSeriesDataPointStreamer<'a, T, TDate, TDp>[src]

type Item = TimeSeriesDataPoint<TDate, TDp>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, TDate, TDp> RefUnwindSafe for TimeSeriesDataPointStreamer<'a, T, TDate, TDp> where
    T: RefUnwindSafe
[src]

impl<'a, T, TDate, TDp> Send for TimeSeriesDataPointStreamer<'a, T, TDate, TDp> where
    T: Send
[src]

impl<'a, T, TDate, TDp> Sync for TimeSeriesDataPointStreamer<'a, T, TDate, TDp> where
    T: Sync
[src]

impl<'a, T, TDate, TDp> Unpin for TimeSeriesDataPointStreamer<'a, T, TDate, TDp>[src]

impl<'a, T, TDate, TDp> !UnwindSafe for TimeSeriesDataPointStreamer<'a, T, TDate, TDp>[src]

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<'a, Tin, TDate, T> FromUncheckedIterator<'a, TDate, T> for Tin where
    T: Clone,
    TDate: Clone + Eq + Ord + Hash + Serialize,
    Tin: Iterator<Item = TimeSeriesDataPoint<TDate, 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> Itertools for T where
    T: Iterator + ?Sized
[src]

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.