pub struct Divergence {
pub evidence: GatheredEvidence,
pub challenging_block: LightBlock,
}
Expand description
A divergence between the primary and a witness that has been detected in detect_divergence
.
Fields§
§evidence: GatheredEvidence
The evidence of a misbehaviour that has been gathered from the conflicting headers
challenging_block: LightBlock
The conflicting light block that was returned by the witness
Trait Implementations§
source§impl Clone for Divergence
impl Clone for Divergence
source§fn clone(&self) -> Divergence
fn clone(&self) -> Divergence
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for Divergence
impl RefUnwindSafe for Divergence
impl Send for Divergence
impl Sync for Divergence
impl Unpin for Divergence
impl UnwindSafe for Divergence
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