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 for LastCanonicalized
impl PartialEq 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 ==
.impl Eq for LastCanonicalized
impl StructuralEq for LastCanonicalized
impl StructuralPartialEq for LastCanonicalized
Auto Trait Implementations§
impl RefUnwindSafe for LastCanonicalized
impl Send for LastCanonicalized
impl Sync for LastCanonicalized
impl Unpin for LastCanonicalized
impl UnwindSafe for LastCanonicalized
Blanket Implementations§
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