pub struct ChunkComponentRevisions { /* private fields */ }Expand description
Component revisions for a one-step chunk definition.
Implementations§
Source§impl ChunkComponentRevisions
impl ChunkComponentRevisions
Sourcepub const fn new(
reader: ComponentRevision,
processor: ComponentRevision,
writer: ComponentRevision,
checkpoint: ComponentRevision,
restart: ChunkRestartContract,
) -> Self
pub const fn new( reader: ComponentRevision, processor: ComponentRevision, writer: ComponentRevision, checkpoint: ComponentRevision, restart: ChunkRestartContract, ) -> Self
Constructs the four restart-relevant chunk component revisions.
Sourcepub const fn delivery_mode(&self) -> ChunkDeliveryMode
pub const fn delivery_mode(&self) -> ChunkDeliveryMode
Returns the delivery mode declared by the restart contract.
Sourcepub const fn in_flight_policy(&self) -> InFlightPolicy
pub const fn in_flight_policy(&self) -> InFlightPolicy
Returns the shutdown policy of an already-open chunk.
Sourcepub const fn reader(&self) -> &ComponentRevision
pub const fn reader(&self) -> &ComponentRevision
Borrows the revision of the component that reads items.
Sourcepub const fn processor(&self) -> &ComponentRevision
pub const fn processor(&self) -> &ComponentRevision
Borrows the revision of the component that processes items.
Sourcepub const fn writer(&self) -> &ComponentRevision
pub const fn writer(&self) -> &ComponentRevision
Borrows the revision of the component that writes items.
Sourcepub const fn checkpoint(&self) -> &ComponentRevision
pub const fn checkpoint(&self) -> &ComponentRevision
Borrows the revision of the component that produces checkpoints.
Sourcepub const fn checkpoint_schema(&self) -> &StateSchemaId
pub const fn checkpoint_schema(&self) -> &StateSchemaId
Borrows the declared checkpoint schema.
Sourcepub const fn checkpoint_schema_version(&self) -> StateSchemaVersion
pub const fn checkpoint_schema_version(&self) -> StateSchemaVersion
Returns the declared checkpoint schema version.
Sourcepub const fn context_schema(&self) -> &StateSchemaId
pub const fn context_schema(&self) -> &StateSchemaId
Borrows the declared execution-context schema.
Sourcepub const fn context_schema_version(&self) -> StateSchemaVersion
pub const fn context_schema_version(&self) -> StateSchemaVersion
Returns the declared execution-context schema version.
Trait Implementations§
Source§impl Clone for ChunkComponentRevisions
impl Clone for ChunkComponentRevisions
Source§fn clone(&self) -> ChunkComponentRevisions
fn clone(&self) -> ChunkComponentRevisions
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 ChunkComponentRevisions
impl Debug for ChunkComponentRevisions
impl Eq for ChunkComponentRevisions
Source§impl PartialEq for ChunkComponentRevisions
impl PartialEq for ChunkComponentRevisions
impl StructuralPartialEq for ChunkComponentRevisions
Auto Trait Implementations§
impl Freeze for ChunkComponentRevisions
impl RefUnwindSafe for ChunkComponentRevisions
impl Send for ChunkComponentRevisions
impl Sync for ChunkComponentRevisions
impl Unpin for ChunkComponentRevisions
impl UnsafeUnpin for ChunkComponentRevisions
impl UnwindSafe for ChunkComponentRevisions
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