Skip to main content

ContextCheckpointProjectionV1

Trait ContextCheckpointProjectionV1 

Source
pub trait ContextCheckpointProjectionV1 {
    type Projection;
    type Error;

    // Required method
    fn project(
        &self,
        checkpoint: &ContextCheckpointV1,
    ) -> Result<Self::Projection, Self::Error>;
}
Expand description

Seam for the downstream projection slice.

Required Associated Types§

Source

type Projection

Projection produced from a validated checkpoint.

Source

type Error

Error surfaced by the projection slice.

Required Methods§

Source

fn project( &self, checkpoint: &ContextCheckpointV1, ) -> Result<Self::Projection, Self::Error>

Project a validated checkpoint into a downstream carrier shape.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§