#[non_exhaustive]pub enum StepComponents {
Tasklet(ComponentRevision),
Chunk {
size: ChunkSize,
revisions: Box<ChunkComponentRevisions>,
},
}Expand description
The executable kind and restart-relevant declaration of one step node.
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.
Tasklet(ComponentRevision)
A single-invocation tasklet body.
Chunk
A restartable reader, processor, and writer pipeline.
Fields
§
revisions: Box<ChunkComponentRevisions>The restart-relevant component revisions and state schemas.
Trait Implementations§
Source§impl Clone for StepComponents
impl Clone for StepComponents
Source§fn clone(&self) -> StepComponents
fn clone(&self) -> StepComponents
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StepComponents
impl Debug for StepComponents
impl Eq for StepComponents
Source§impl PartialEq for StepComponents
impl PartialEq for StepComponents
impl StructuralPartialEq for StepComponents
Auto Trait Implementations§
impl Freeze for StepComponents
impl RefUnwindSafe for StepComponents
impl Send for StepComponents
impl Sync for StepComponents
impl Unpin for StepComponents
impl UnsafeUnpin for StepComponents
impl UnwindSafe for StepComponents
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