pub struct WindowAggregator<Key, AggInit, AggregatorImpl> { /* private fields */ }Expand description
A struct for window-based aggregation of time-series data.
The struct maintains a set of active windows per key and aggregates data within those windows per key. It also handles out-of-order data and late-arriving events.
Trait Implementations§
Source§impl<Key: Clone, AggInit: Clone, AggregatorImpl: Clone> Clone for WindowAggregator<Key, AggInit, AggregatorImpl>
impl<Key: Clone, AggInit: Clone, AggregatorImpl: Clone> Clone for WindowAggregator<Key, AggInit, AggregatorImpl>
Source§fn clone(&self) -> WindowAggregator<Key, AggInit, AggregatorImpl>
fn clone(&self) -> WindowAggregator<Key, AggInit, AggregatorImpl>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Key, AggInit, AggregatorImpl> Freeze for WindowAggregator<Key, AggInit, AggregatorImpl>where
AggInit: Freeze,
impl<Key, AggInit, AggregatorImpl> RefUnwindSafe for WindowAggregator<Key, AggInit, AggregatorImpl>
impl<Key, AggInit, AggregatorImpl> Send for WindowAggregator<Key, AggInit, AggregatorImpl>
impl<Key, AggInit, AggregatorImpl> Sync for WindowAggregator<Key, AggInit, AggregatorImpl>
impl<Key, AggInit, AggregatorImpl> Unpin for WindowAggregator<Key, AggInit, AggregatorImpl>
impl<Key, AggInit, AggregatorImpl> UnsafeUnpin for WindowAggregator<Key, AggInit, AggregatorImpl>where
AggInit: UnsafeUnpin,
impl<Key, AggInit, AggregatorImpl> UnwindSafe for WindowAggregator<Key, AggInit, AggregatorImpl>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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