pub struct ResolvedConflictBranch {
pub control_head: MergeCircleControlHeadRef,
pub metadata_heads: Vec<CircleMetadataHeadRef>,
pub roster_heads: Vec<CircleRosterHeadRef>,
pub selected_metadata: CircleMetadata,
}Expand description
One losing branch of a resolved control conflict, carried so the resolution can cover every branch’s frontier rather than only the chosen branch’s: the branch’s control head, its metadata and roster head frontiers, and the metadata entry that branch selected. The resolution unions these into its own frontier so no author-stream head is re-allocated once the conflict collapses, and re-derives its name as the deterministic metadata selection across the union.
Fields§
§control_head: MergeCircleControlHeadRef§metadata_heads: Vec<CircleMetadataHeadRef>§roster_heads: Vec<CircleRosterHeadRef>§selected_metadata: CircleMetadataTrait Implementations§
Source§impl Clone for ResolvedConflictBranch
impl Clone for ResolvedConflictBranch
Source§fn clone(&self) -> ResolvedConflictBranch
fn clone(&self) -> ResolvedConflictBranch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for ResolvedConflictBranch
impl RefUnwindSafe for ResolvedConflictBranch
impl Send for ResolvedConflictBranch
impl Sync for ResolvedConflictBranch
impl Unpin for ResolvedConflictBranch
impl UnsafeUnpin for ResolvedConflictBranch
impl UnwindSafe for ResolvedConflictBranch
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