Struct ethcore::snapshot::Progress
[−]
[src]
pub struct Progress { /* fields omitted */ }
A progress indicator for snapshots.
Methods
impl Progress
[src]
fn reset(&self)
Reset the progress.
fn accounts(&self) -> usize
Get the number of accounts snapshotted thus far.
fn blocks(&self) -> usize
Get the number of blocks snapshotted thus far.
fn size(&self) -> usize
Get the written size of the snapshot in bytes.
fn done(&self) -> bool
Whether the snapshot is complete.