pub struct TraceComparison {
pub events_equal: bool,
pub final_state_equal: bool,
pub first_difference: Option<TraceDifference>,
}Expand description
Comparison result includes both event and replay-state equality. A pair of traces can reach equal state while still differing in protocol behavior; that distinction is useful during adapter cutover.
Fields§
§events_equal: bool§final_state_equal: bool§first_difference: Option<TraceDifference>Implementations§
Source§impl TraceComparison
impl TraceComparison
pub fn equivalent(&self) -> bool
Trait Implementations§
Source§impl Clone for TraceComparison
impl Clone for TraceComparison
Source§fn clone(&self) -> TraceComparison
fn clone(&self) -> TraceComparison
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 TraceComparison
impl Debug for TraceComparison
Source§impl<'de> Deserialize<'de> for TraceComparison
impl<'de> Deserialize<'de> for TraceComparison
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TraceComparison
Source§impl PartialEq for TraceComparison
impl PartialEq for TraceComparison
Source§impl Serialize for TraceComparison
impl Serialize for TraceComparison
impl StructuralPartialEq for TraceComparison
Auto Trait Implementations§
impl Freeze for TraceComparison
impl RefUnwindSafe for TraceComparison
impl Send for TraceComparison
impl Sync for TraceComparison
impl Unpin for TraceComparison
impl UnsafeUnpin for TraceComparison
impl UnwindSafe for TraceComparison
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