Enum ethcore::snapshot::RestorationStatus []

pub enum RestorationStatus {
    Inactive,
    Initializing {
        chunks_done: u32,
    },
    Ongoing {
        state_chunks: u32,
        block_chunks: u32,
        state_chunks_done: u32,
        block_chunks_done: u32,
    },
    Failed,
}

Statuses for restorations.

Variants

No restoration.

Restoration is initalizing

Fields of Initializing

Number of chunks done/imported

Ongoing restoration.

Fields of Ongoing

Total number of state chunks.

Total number of block chunks.

Number of state chunks completed.

Number of block chunks completed.

Failed restoration.

Trait Implementations

impl Copy for RestorationStatus

impl Clone for RestorationStatus

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for RestorationStatus

impl PartialEq<RestorationStatus> for RestorationStatus

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for RestorationStatus

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RestorationStatus

impl Sync for RestorationStatus