Trait vector_common::event_data_eq::EventDataEq
source · pub trait EventDataEq<Rhs: ?Sized = Self> {
// Required method
fn event_data_eq(&self, other: &Rhs) -> bool;
}
Expand description
A related trait to PartialEq
, EventDataEq
tests if two events
contain the same data, exclusive of the metadata. This is used to
test for events having the same values but potentially different
parts of the metadata that not fixed between runs, without removing
the ability to compare them for exact equality.