pub enum HistoryRelation {
Equivalent,
LeftExtends {
common_prefix_len: usize,
},
RightExtends {
common_prefix_len: usize,
},
Diverged {
common_prefix_len: usize,
},
BaseMismatch,
}Expand description
Deterministic relationship between two command logs sharing a collaboration base.
Variants§
Trait Implementations§
Source§impl Clone for HistoryRelation
impl Clone for HistoryRelation
Source§impl Debug for HistoryRelation
impl Debug for HistoryRelation
Source§impl<'de> Deserialize<'de> for HistoryRelation
impl<'de> Deserialize<'de> for HistoryRelation
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 HistoryRelation
Source§impl PartialEq for HistoryRelation
impl PartialEq for HistoryRelation
Source§impl Serialize for HistoryRelation
impl Serialize for HistoryRelation
impl StructuralPartialEq for HistoryRelation
Auto Trait Implementations§
impl Freeze for HistoryRelation
impl RefUnwindSafe for HistoryRelation
impl Send for HistoryRelation
impl Sync for HistoryRelation
impl Unpin for HistoryRelation
impl UnsafeUnpin for HistoryRelation
impl UnwindSafe for HistoryRelation
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