Struct rlink::core::checkpoint::FunctionSnapshotContext [−][src]
pub struct FunctionSnapshotContext { pub operator_id: OperatorId, pub task_id: TaskId, pub checkpoint_id: CheckpointId, pub completed_checkpoint_id: Option<CheckpointId>, }
Expand description
This struct provides a context in which user functions that use managed state metadata
Fields
operator_id: OperatorId
task_id: TaskId
checkpoint_id: CheckpointId
completed_checkpoint_id: Option<CheckpointId>
Implementations
pub fn new(
operator_id: OperatorId,
task_id: TaskId,
checkpoint_id: CheckpointId,
completed_checkpoint_id: Option<CheckpointId>
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FunctionSnapshotContext
impl Send for FunctionSnapshotContext
impl Sync for FunctionSnapshotContext
impl Unpin for FunctionSnapshotContext
impl UnwindSafe for FunctionSnapshotContext
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self