pub struct WindowAnyOperator<T, F> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T, F> Operator<T, bool> for WindowAnyOperator<T, F>
impl<T, F> Operator<T, bool> for WindowAnyOperator<T, F>
Source§fn process<'life0, 'async_trait>(
&'life0 mut self,
record: Record<T>,
) -> Pin<Box<dyn Future<Output = StreamResult<Vec<Record<bool>>>> + 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<bool>>>> + 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 = StreamResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = StreamResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initialize the operator
Source§fn on_window_trigger<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = StreamResult<Vec<Record<Out>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_window_trigger<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = StreamResult<Vec<Record<Out>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Called when a window is triggered (if windowing is enabled)
Auto Trait Implementations§
impl<T, F> Freeze for WindowAnyOperator<T, F>where
F: Freeze,
impl<T, F> RefUnwindSafe for WindowAnyOperator<T, F>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for WindowAnyOperator<T, F>
impl<T, F> Sync for WindowAnyOperator<T, F>
impl<T, F> Unpin for WindowAnyOperator<T, F>
impl<T, F> UnwindSafe for WindowAnyOperator<T, F>where
F: UnwindSafe,
T: 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