pub struct BlockProgress {
pub sbn: u8,
pub source_symbols: usize,
pub repair_symbols: usize,
pub k: Option<u16>,
pub threshold_reached: bool,
}Expand description
Progress tracking for a single source block.
Fields§
§sbn: u8Source block number.
source_symbols: usizeCount of source symbols seen.
repair_symbols: usizeCount of repair symbols seen.
k: Option<u16>Number of source symbols (K) if known.
threshold_reached: boolWhether threshold has been reached.
Implementations§
Trait Implementations§
Source§impl Clone for BlockProgress
impl Clone for BlockProgress
Source§fn clone(&self) -> BlockProgress
fn clone(&self) -> BlockProgress
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 BlockProgress
impl Debug for BlockProgress
impl Copy for BlockProgress
Auto Trait Implementations§
impl Freeze for BlockProgress
impl RefUnwindSafe for BlockProgress
impl Send for BlockProgress
impl Sync for BlockProgress
impl Unpin for BlockProgress
impl UnsafeUnpin for BlockProgress
impl UnwindSafe for BlockProgress
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).