pub struct Progress {
pub filter_headers: u32,
pub filters: u32,
pub total_to_check: u32,
}Expand description
The progress of the node during the block filter download process.
Fields§
§filter_headers: u32The number of filter headers that have been assumed checked and downloaded.
filters: u32The number of block filters that have been assumed checked and downloaded.
total_to_check: u32The number of filters to check.
Implementations§
Source§impl Progress
impl Progress
Sourcepub fn percentage_complete(&self) -> f32
pub fn percentage_complete(&self) -> f32
The total progress represented as a percent.
Sourcepub fn fraction_complete(&self) -> f32
pub fn fraction_complete(&self) -> f32
The total progress represented as a fraction.
Trait Implementations§
Source§impl PartialOrd for Progress
impl PartialOrd for Progress
impl Copy for Progress
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnwindSafe for Progress
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