#[non_exhaustive]pub enum Stage {
Prepare,
Policy,
Convert,
Encode,
Finish,
Publish,
Terminal,
}Expand description
Boundary at which the owned operation stopped.
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.
Prepare
Prepare the container from the actual encoder configuration.
Policy
Resolve the held frame and conversion through application policy.
Convert
Execute and validate the selected conversion.
Encode
Send, receive or stage native encoded packets.
Finish
Drain and release the encoder.
Publish
Publish the container; partial effects remain in the cause.
Terminal
An operation already failed or unwound.
Trait Implementations§
impl Copy for Stage
impl Eq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations§
impl Freeze for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnsafeUnpin for Stage
impl UnwindSafe for Stage
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