pub struct BlockStatus {
pub sbn: u8,
pub symbols_received: usize,
pub symbols_needed: usize,
pub state: BlockStateKind,
}Expand description
Per-block status.
Fields§
§sbn: u8Block number.
symbols_received: usizeSymbols received for this block.
symbols_needed: usizeEstimated symbols needed for this block.
state: BlockStateKindBlock state.
Trait Implementations§
Source§impl Clone for BlockStatus
impl Clone for BlockStatus
Source§fn clone(&self) -> BlockStatus
fn clone(&self) -> BlockStatus
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 BlockStatus
impl Debug for BlockStatus
impl Copy for BlockStatus
Auto Trait Implementations§
impl Freeze for BlockStatus
impl RefUnwindSafe for BlockStatus
impl Send for BlockStatus
impl Sync for BlockStatus
impl Unpin for BlockStatus
impl UnsafeUnpin for BlockStatus
impl UnwindSafe for BlockStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).