Enum sc_state_db::LastCanonicalized
source · pub enum LastCanonicalized {
None,
Block(u64),
NotCanonicalizing,
}
Expand description
Status information about the last canonicalized block.
Variants§
None
Not yet have canonicalized any block.
Block(u64)
The given block number is the last canonicalized block.
NotCanonicalizing
No canonicalization is happening (pruning mode is archive all).
Trait Implementations§
source§impl Clone for LastCanonicalized
impl Clone for LastCanonicalized
source§fn clone(&self) -> LastCanonicalized
fn clone(&self) -> LastCanonicalized
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LastCanonicalized
impl Debug for LastCanonicalized
source§impl PartialEq<LastCanonicalized> for LastCanonicalized
impl PartialEq<LastCanonicalized> for LastCanonicalized
source§fn eq(&self, other: &LastCanonicalized) -> bool
fn eq(&self, other: &LastCanonicalized) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.