pub enum CheckedPatch {
Success(CommitProof),
Conflict {
head: CommitProof,
contains: Option<CommitProof>,
},
}Expand description
Result of a checked patch on an event log.
Variants§
Success(CommitProof)
Patch was applied.
Conflict
Patch conflict.
Fields
§
head: CommitProofHead of the event log.
§
contains: Option<CommitProof>If the checked proof is contained in the event log.
Trait Implementations§
Source§impl Clone for CheckedPatch
impl Clone for CheckedPatch
Source§fn clone(&self) -> CheckedPatch
fn clone(&self) -> CheckedPatch
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 CheckedPatch
impl Debug for CheckedPatch
Source§impl PartialEq for CheckedPatch
impl PartialEq for CheckedPatch
impl Eq for CheckedPatch
impl StructuralPartialEq for CheckedPatch
Auto Trait Implementations§
impl Freeze for CheckedPatch
impl RefUnwindSafe for CheckedPatch
impl Send for CheckedPatch
impl Sync for CheckedPatch
impl Unpin for CheckedPatch
impl UnwindSafe for CheckedPatch
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