pub struct WindowAggregator<T, A, F> { /* private fields */ }Implementations§
Source§impl<T, A, F> WindowAggregator<T, A, F>
impl<T, A, F> WindowAggregator<T, A, F>
pub fn new(window_config: WindowConfig, init: A, f: F) -> Self
Trait Implementations§
Source§impl<T, A, F> Operator<T, A> for WindowAggregator<T, A, F>
impl<T, A, F> Operator<T, A> for WindowAggregator<T, A, F>
Source§fn process<'life0, 'async_trait>(
&'life0 mut self,
record: Record<T>,
) -> Pin<Box<dyn Future<Output = StreamResult<Vec<Record<A>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 mut self,
record: Record<T>,
) -> Pin<Box<dyn Future<Output = StreamResult<Vec<Record<A>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process a single record and return zero or more output records
Source§fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), StreamError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), StreamError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Initialize the operator
Auto Trait Implementations§
impl<T, A, F> Freeze for WindowAggregator<T, A, F>
impl<T, A, F> !RefUnwindSafe for WindowAggregator<T, A, F>
impl<T, A, F> Send for WindowAggregator<T, A, F>
impl<T, A, F> Sync for WindowAggregator<T, A, F>
impl<T, A, F> Unpin for WindowAggregator<T, A, F>
impl<T, A, F> !UnwindSafe for WindowAggregator<T, A, F>
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