pub enum Evidence {
Proof(Proof),
Competitor(Proof),
Chain(ChainEvent),
Verdict(NodeVerdict),
Recheck,
}Expand description
The inputs that may write a chain word.
Variants§
Proof(Proof)
A proof of this transaction’s inclusion.
Competitor(Proof)
A proof of a competing transaction’s inclusion.
Chain(ChainEvent)
A chain event from the host’s header feed.
Verdict(NodeVerdict)
A verdict from the host’s trusted node.
Recheck
Recheck a mined word against the current headers.
Trait Implementations§
impl Eq for Evidence
impl StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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