pub enum ConsistencyCheckProgress {
    Start,
    Update {
        message: String,
        entry: Option<Hash>,
        level: ReportLevel,
    },
    Done,
    Abort(Error),
}Expand description
Progress updates for the validate operation
Variants§
Start
Consistency check started
Update
Consistency check update
Fields
§
level: ReportLevelThe level of the message
Done
Consistency check ended
Abort(Error)
We got an error and need to abort.
Trait Implementations§
source§impl Debug for ConsistencyCheckProgress
 
impl Debug for ConsistencyCheckProgress
source§impl<'de> Deserialize<'de> for ConsistencyCheckProgress
 
impl<'de> Deserialize<'de> for ConsistencyCheckProgress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ConsistencyCheckProgress> for Response
Available on crate feature rpc only. 
impl From<ConsistencyCheckProgress> for Response
Available on crate feature 
rpc only.source§fn from(value: ConsistencyCheckProgress) -> Self
 
fn from(value: ConsistencyCheckProgress) -> Self
Converts to this type from the input type.
source§impl From<ConsistencyCheckProgress> for Response
Available on crate feature rpc only. 
impl From<ConsistencyCheckProgress> for Response
Available on crate feature 
rpc only.source§fn from(value: ConsistencyCheckProgress) -> Self
 
fn from(value: ConsistencyCheckProgress) -> Self
Converts to this type from the input type.
source§impl Serialize for ConsistencyCheckProgress
 
impl Serialize for ConsistencyCheckProgress
source§impl<'a> TryFrom<&'a Response> for &'a ConsistencyCheckProgress
Available on crate feature rpc only. 
impl<'a> TryFrom<&'a Response> for &'a ConsistencyCheckProgress
Available on crate feature 
rpc only.source§impl<'a> TryFrom<&'a Response> for &'a ConsistencyCheckProgress
Available on crate feature rpc only. 
impl<'a> TryFrom<&'a Response> for &'a ConsistencyCheckProgress
Available on crate feature 
rpc only.source§impl TryFrom<Response> for ConsistencyCheckProgress
Available on crate feature rpc only. 
impl TryFrom<Response> for ConsistencyCheckProgress
Available on crate feature 
rpc only.Auto Trait Implementations§
impl Freeze for ConsistencyCheckProgress
impl RefUnwindSafe for ConsistencyCheckProgress
impl Send for ConsistencyCheckProgress
impl Sync for ConsistencyCheckProgress
impl Unpin for ConsistencyCheckProgress
impl UnwindSafe for ConsistencyCheckProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more