pub enum CausalRelation {
Equal,
Before,
After,
Concurrent,
}Expand description
The causal relationship between two histories.
Variants§
Equal
Both histories contain the same author sequences.
Before
The left history is strictly contained in the right history.
After
The left history strictly contains the right history.
Concurrent
Each history contains an event absent from the other.
Trait Implementations§
Source§impl Clone for CausalRelation
impl Clone for CausalRelation
Source§fn clone(&self) -> CausalRelation
fn clone(&self) -> CausalRelation
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 moreSource§impl Debug for CausalRelation
impl Debug for CausalRelation
Source§impl PartialEq for CausalRelation
impl PartialEq for CausalRelation
impl Copy for CausalRelation
impl Eq for CausalRelation
impl StructuralPartialEq for CausalRelation
Auto Trait Implementations§
impl Freeze for CausalRelation
impl RefUnwindSafe for CausalRelation
impl Send for CausalRelation
impl Sync for CausalRelation
impl Unpin for CausalRelation
impl UnwindSafe for CausalRelation
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