pub trait ContextCheckpointMergePolicyV1 {
type Error;
// Required method
fn merge(
&self,
ancestor: &ContextCheckpointV1,
left: &ContextCheckpointV1,
right: &ContextCheckpointV1,
) -> Result<ContextCheckpointV1, Self::Error>;
}Expand description
Seam for the downstream branch-merge slice.
Required Associated Types§
Required Methods§
Sourcefn merge(
&self,
ancestor: &ContextCheckpointV1,
left: &ContextCheckpointV1,
right: &ContextCheckpointV1,
) -> Result<ContextCheckpointV1, Self::Error>
fn merge( &self, ancestor: &ContextCheckpointV1, left: &ContextCheckpointV1, right: &ContextCheckpointV1, ) -> Result<ContextCheckpointV1, Self::Error>
Merge two checkpoint branches against their common ancestor.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".