pub struct MapOperator<F>{ /* private fields */ }Expand description
A map operator.
Implementations§
Source§impl<F> MapOperator<F>
impl<F> MapOperator<F>
Trait Implementations§
Source§impl<F> StreamOperator for MapOperator<F>
impl<F> StreamOperator for MapOperator<F>
Source§fn process<'life0, 'async_trait>(
&'life0 mut self,
message: StreamMessage,
) -> Pin<Box<dyn Future<Output = Result<Vec<StreamMessage>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 mut self,
message: StreamMessage,
) -> Pin<Box<dyn Future<Output = Result<Vec<StreamMessage>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process a stream message.
Auto Trait Implementations§
impl<F> Freeze for MapOperator<F>
impl<F> RefUnwindSafe for MapOperator<F>where
F: RefUnwindSafe,
impl<F> Send for MapOperator<F>
impl<F> Sync for MapOperator<F>
impl<F> Unpin for MapOperator<F>
impl<F> UnsafeUnpin for MapOperator<F>
impl<F> UnwindSafe for MapOperator<F>where
F: RefUnwindSafe,
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