pub struct WindowedAggregationStreamAdaptor<Key, Input, AggInit: Clone, AggValue, AggregatorImpl: Aggregator<AggInit, Input, AggValue>, I: Stream<Item = Input>> { /* private fields */ }Implementations§
Source§impl<Key: Eq + Hash + Clone, Input, AggInit: Clone, AggValue, AggregatorImpl: Aggregator<AggInit, Input, AggValue>, I: Stream<Item = Input>> WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
impl<Key: Eq + Hash + Clone, Input, AggInit: Clone, AggValue, AggregatorImpl: Aggregator<AggInit, Input, AggValue>, I: Stream<Item = Input>> WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
Trait Implementations§
Source§impl<Key: Eq + Hash + Clone + Unpin, Input: TimeSeriesData<Key> + Unpin, AggInit: Clone + Unpin, AggValue: Unpin, AggregatorImpl: Aggregator<AggInit, Input, AggValue>, I: Stream<Item = Input>> Stream for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
impl<Key: Eq + Hash + Clone + Unpin, Input: TimeSeriesData<Key> + Unpin, AggInit: Clone + Unpin, AggValue: Unpin, AggregatorImpl: Aggregator<AggInit, Input, AggValue>, I: Stream<Item = Input>> Stream for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
Source§type Item = Either<((DateTime<Utc>, DateTime<Utc>), AggValue), Input>
type Item = Either<((DateTime<Utc>, DateTime<Utc>), AggValue), Input>
Values yielded by the stream.
impl<'pin, Key, Input, AggInit: Clone, AggValue, AggregatorImpl: Aggregator<AggInit, Input, AggValue>, I: Stream<Item = Input>> Unpin for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>where
PinnedFieldsOf<__WindowedAggregationStreamAdaptor<'pin, Key, Input, AggInit, AggValue, AggregatorImpl, I>>: Unpin,
Auto Trait Implementations§
impl<Key, Input, AggInit, AggValue, AggregatorImpl, I> Freeze for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
impl<Key, Input, AggInit, AggValue, AggregatorImpl, I> RefUnwindSafe for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>where
I: RefUnwindSafe,
AggregatorImpl: RefUnwindSafe,
AggInit: RefUnwindSafe,
Key: RefUnwindSafe,
Input: RefUnwindSafe,
AggValue: RefUnwindSafe,
impl<Key, Input, AggInit, AggValue, AggregatorImpl, I> Send for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
impl<Key, Input, AggInit, AggValue, AggregatorImpl, I> Sync for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
impl<Key, Input, AggInit, AggValue, AggregatorImpl, I> UnsafeUnpin for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>
impl<Key, Input, AggInit, AggValue, AggregatorImpl, I> UnwindSafe for WindowedAggregationStreamAdaptor<Key, Input, AggInit, AggValue, AggregatorImpl, I>where
I: UnwindSafe,
AggregatorImpl: UnwindSafe + RefUnwindSafe,
AggInit: UnwindSafe,
Key: UnwindSafe,
Input: UnwindSafe,
AggValue: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more