pub struct EdgeResolution {
pub close: Vec<ExistingEdge>,
pub open: Edge,
}Expand description
The resolver’s decision: which existing edges to close, and the edge to open.
Echoes the row-level supersession model at the edge level — closing an edge
records “a newer fact won,” a normal lifecycle event, not an extraction
error. close carries the edges to close fully described (see
ExistingEdge’s identity tuple), so the commit path can match each by its
own properties; their valid_to is set to the new edge’s valid_from.
open is the new edge to add as current.
Fields§
§close: Vec<ExistingEdge>Current edges to close (mark superseded), self-describing.
open: EdgeThe new edge to open as current.
Trait Implementations§
Source§impl Clone for EdgeResolution
impl Clone for EdgeResolution
Source§fn clone(&self) -> EdgeResolution
fn clone(&self) -> EdgeResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeResolution
impl Debug for EdgeResolution
Source§impl PartialEq for EdgeResolution
impl PartialEq for EdgeResolution
Source§fn eq(&self, other: &EdgeResolution) -> bool
fn eq(&self, other: &EdgeResolution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EdgeResolution
Auto Trait Implementations§
impl Freeze for EdgeResolution
impl RefUnwindSafe for EdgeResolution
impl Send for EdgeResolution
impl Sync for EdgeResolution
impl Unpin for EdgeResolution
impl UnsafeUnpin for EdgeResolution
impl UnwindSafe for EdgeResolution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request