Struct ethcore::snapshot::Progress [−][src]
pub struct Progress { /* fields omitted */ }A progress indicator for snapshots.
Methods
impl Progress[src]
impl Progresspub fn reset(&self)[src]
pub fn reset(&self)Reset the progress.
pub fn accounts(&self) -> usize[src]
pub fn accounts(&self) -> usizeGet the number of accounts snapshotted thus far.
pub fn blocks(&self) -> usize[src]
pub fn blocks(&self) -> usizeGet the number of blocks snapshotted thus far.
pub fn size(&self) -> usize[src]
pub fn size(&self) -> usizeGet the written size of the snapshot in bytes.
pub fn done(&self) -> bool[src]
pub fn done(&self) -> boolWhether the snapshot is complete.
Trait Implementations
impl Debug for Progress[src]
impl Debug for Progressfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Progress[src]
impl Default for Progress