pub struct ReorgEvent {
pub detected_at: u64,
pub dropped_blocks: Vec<BlockSummary>,
pub depth: u64,
pub reorg_type: ReorgType,
}Expand description
Describes a detected chain reorganization.
Fields§
§detected_at: u64The block where the fork was detected.
dropped_blocks: Vec<BlockSummary>The blocks that were dropped (rolled back) — most recent first.
depth: u64The depth of the reorg (number of blocks rolled back).
reorg_type: ReorgTypeType of reorg detected.
Trait Implementations§
Source§impl Clone for ReorgEvent
impl Clone for ReorgEvent
Source§fn clone(&self) -> ReorgEvent
fn clone(&self) -> ReorgEvent
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 moreAuto Trait Implementations§
impl Freeze for ReorgEvent
impl RefUnwindSafe for ReorgEvent
impl Send for ReorgEvent
impl Sync for ReorgEvent
impl Unpin for ReorgEvent
impl UnsafeUnpin for ReorgEvent
impl UnwindSafe for ReorgEvent
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