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
Inactive
No restoration.
Initializing
Restoration is initalizing
Fields of Initializing
chunks_done: u32 | Number of chunks done/imported |
Ongoing
Ongoing restoration.
Fields of Ongoing
state_chunks: u32 | Total number of state chunks. |
block_chunks: u32 | Total number of block chunks. |
state_chunks_done: u32 | Number of state chunks completed. |
block_chunks_done: u32 | Number of block chunks completed. |
Failed
Failed restoration.
Trait Implementations
impl Copy for RestorationStatus
impl Copy for RestorationStatus
impl Clone for RestorationStatus
impl Clone for RestorationStatus
fn clone(&self) -> RestorationStatus
fn clone(&self) -> RestorationStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for RestorationStatus
impl Eq for RestorationStatus
impl PartialEq<RestorationStatus> for RestorationStatus
impl PartialEq<RestorationStatus> for RestorationStatus
fn eq(&self, __arg_0: &RestorationStatus) -> bool
fn eq(&self, __arg_0: &RestorationStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RestorationStatus) -> bool
fn ne(&self, __arg_0: &RestorationStatus) -> bool
This method tests for !=
.
impl Debug for RestorationStatus
impl Debug for RestorationStatus
Auto Trait Implementations
impl Send for RestorationStatus
impl Send for RestorationStatus
impl Sync for RestorationStatus
impl Sync for RestorationStatus