Skip to main content

CheckpointSink

Trait CheckpointSink 

Source
pub trait CheckpointSink: Send + Sync {
    // Required method
    fn put(
        &self,
        run_id: &str,
        step: u32,
        kind: &str,
        body: &[u8],
    ) -> Result<(), String>;
}
Expand description

Where a run’s checkpoints are kept: the store beside its run row, or memory in a test.

Required Methods§

Source

fn put( &self, run_id: &str, step: u32, kind: &str, body: &[u8], ) -> Result<(), String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CheckpointSink for Store

Source§

fn put( &self, run_id: &str, step: u32, kind: &str, body: &[u8], ) -> Result<(), String>

Implementors§