pub struct DeterministicContextCheckpointMergePolicyV1 {
pub output: ContextCheckpointChildSpecV1,
pub conflicts: ContextCheckpointConflictPolicyV1,
}Expand description
Policy object implementing the protocol seam for direct-child merges.
Fields§
§output: ContextCheckpointChildSpecV1§conflicts: ContextCheckpointConflictPolicyV1Trait Implementations§
Source§impl ContextCheckpointMergePolicyV1 for DeterministicContextCheckpointMergePolicyV1
impl ContextCheckpointMergePolicyV1 for DeterministicContextCheckpointMergePolicyV1
Source§type Error = ContextCheckpointMergeErrorV1
type Error = ContextCheckpointMergeErrorV1
Error surfaced by the merge slice.
Source§fn 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.
Auto Trait Implementations§
impl Freeze for DeterministicContextCheckpointMergePolicyV1
impl RefUnwindSafe for DeterministicContextCheckpointMergePolicyV1
impl Send for DeterministicContextCheckpointMergePolicyV1
impl Sync for DeterministicContextCheckpointMergePolicyV1
impl Unpin for DeterministicContextCheckpointMergePolicyV1
impl UnsafeUnpin for DeterministicContextCheckpointMergePolicyV1
impl UnwindSafe for DeterministicContextCheckpointMergePolicyV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more