pub struct FlatMapTransform<F>{ /* private fields */ }Expand description
FlatMap transformation.
Implementations§
Source§impl<F> FlatMapTransform<F>
impl<F> FlatMapTransform<F>
Sourcepub fn apply(&self, element: StreamElement) -> Vec<StreamElement>
pub fn apply(&self, element: StreamElement) -> Vec<StreamElement>
Apply the transformation to an element.
Sourcepub fn apply_message(&self, message: StreamMessage) -> Vec<StreamMessage>
pub fn apply_message(&self, message: StreamMessage) -> Vec<StreamMessage>
Apply the transformation to a message.
Auto Trait Implementations§
impl<F> Freeze for FlatMapTransform<F>
impl<F> RefUnwindSafe for FlatMapTransform<F>where
F: RefUnwindSafe,
impl<F> Send for FlatMapTransform<F>
impl<F> Sync for FlatMapTransform<F>
impl<F> Unpin for FlatMapTransform<F>
impl<F> UnsafeUnpin for FlatMapTransform<F>
impl<F> UnwindSafe for FlatMapTransform<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