pub trait CausalOrdering {
// Required methods
fn precedes(&self, other: &Self) -> bool;
fn concurrent_with(&self, other: &Self) -> bool;
}Expand description
Extension trait for working with causality
Required Methods§
Sourcefn concurrent_with(&self, other: &Self) -> bool
fn concurrent_with(&self, other: &Self) -> bool
Checks if this event is concurrent with another
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".