pub struct WindowSkipper<T> { /* private fields */ }Implementations§
Source§impl<T> WindowSkipper<T>where
T: Clone,
impl<T> WindowSkipper<T>where
T: Clone,
pub fn new(window_config: WindowConfig, n: usize) -> Self
Trait Implementations§
Source§impl<T> Operator<T, Vec<T>> for WindowSkipper<T>
impl<T> Operator<T, Vec<T>> for WindowSkipper<T>
Source§fn process<'life0, 'async_trait>(
&'life0 mut self,
record: Record<T>,
) -> Pin<Box<dyn Future<Output = StreamResult<Vec<Record<Vec<T>>>>> + 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<Vec<T>>>>> + 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> Freeze for WindowSkipper<T>
impl<T> RefUnwindSafe for WindowSkipper<T>where
T: RefUnwindSafe,
impl<T> Send for WindowSkipper<T>where
T: Send,
impl<T> Sync for WindowSkipper<T>where
T: Sync,
impl<T> Unpin for WindowSkipper<T>where
T: Unpin,
impl<T> UnwindSafe for WindowSkipper<T>where
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