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§
Sourcetype Projection
type Projection
Projection produced from a validated checkpoint.
Required Methods§
Sourcefn project(
&self,
checkpoint: &ContextCheckpointV1,
) -> Result<Self::Projection, Self::Error>
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".