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