Enum common_types::snapshot::RestorationStatus[][src]

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

Statuses for snapshot restoration.

Variants

Inactive

No restoration activity currently.

Initializing

Restoration is initializing.

Fields of Initializing

state_chunks: u32

Total number of state chunks.

block_chunks: u32

Total number of block chunks.

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.

Finalizing

Finalizing restoration.

Failed

Failed restoration.

Trait Implementations

impl Clone for RestorationStatus[src]

impl Copy for RestorationStatus[src]

impl Debug for RestorationStatus[src]

impl Eq for RestorationStatus[src]

impl PartialEq<RestorationStatus> for RestorationStatus[src]

impl StructuralEq for RestorationStatus[src]

impl StructuralPartialEq for RestorationStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,