#[non_exhaustive]pub enum TransformOutcome {
Drop,
ForwardInput,
ForwardOutput(usize),
}Expand description
Outcome of a stage transform.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Drop
Drop the message.
ForwardInput
Forward the original input.
ForwardOutput(usize)
Forward the first N bytes of the output buffer.
Trait Implementations§
Source§impl Clone for TransformOutcome
impl Clone for TransformOutcome
Source§fn clone(&self) -> TransformOutcome
fn clone(&self) -> TransformOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransformOutcome
impl Debug for TransformOutcome
Source§impl PartialEq for TransformOutcome
impl PartialEq for TransformOutcome
impl Copy for TransformOutcome
impl Eq for TransformOutcome
impl StructuralPartialEq for TransformOutcome
Auto Trait Implementations§
impl Freeze for TransformOutcome
impl RefUnwindSafe for TransformOutcome
impl Send for TransformOutcome
impl Sync for TransformOutcome
impl Unpin for TransformOutcome
impl UnwindSafe for TransformOutcome
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