pub enum Relation {
Same,
Behind(u64),
Ahead(u64),
Fork,
}Expand description
How two attestations stand by the fork rule (D80).
Variants§
Same
The same attestation.
Behind(u64)
The first is an ancestor of the second, this many links back.
Ahead(u64)
The second is an ancestor of the first, this many links back.
Fork
Neither is an ancestor of the other: two histories.
Trait Implementations§
impl Copy for Relation
impl Eq for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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