pub enum Flow<T> {
Next(T),
Stop,
}Expand description
Result of an inbound, business, or outbound stage.
Next forwards the transformed message to the next stage. Stop consumes
the message and stops processing for that direction.
Variants§
Next(T)
Continue the pipeline with this message.
Stop
Stop processing this message without treating it as an error.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for Flow<T>where
T: Freeze,
impl<T> RefUnwindSafe for Flow<T>where
T: RefUnwindSafe,
impl<T> Send for Flow<T>where
T: Send,
impl<T> Sync for Flow<T>where
T: Sync,
impl<T> Unpin for Flow<T>where
T: Unpin,
impl<T> UnsafeUnpin for Flow<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Flow<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