#[repr(u8)]pub enum SynchronizationState {
InitReindex = 0,
InitDownload = 1,
PostInit = 2,
}Expand description
Current synchronization state of the blockchain.
Indicates what phase of blockchain synchronization is currently active. Emitted by block tip notifications to track sync progress.
Variants§
InitReindex = 0
Currently reindexing the blockchain from disk
InitDownload = 1
Initial block download - syncing from network peers
PostInit = 2
Synchronization complete - processing new blocks
Trait Implementations§
Source§impl Clone for SynchronizationState
impl Clone for SynchronizationState
Source§fn clone(&self) -> SynchronizationState
fn clone(&self) -> SynchronizationState
Returns a duplicate 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 SynchronizationState
impl Debug for SynchronizationState
Source§impl From<SynchronizationState> for btck_SynchronizationState
impl From<SynchronizationState> for btck_SynchronizationState
Source§fn from(state: SynchronizationState) -> Self
fn from(state: SynchronizationState) -> Self
Converts to this type from the input type.
Source§impl From<u8> for SynchronizationState
impl From<u8> for SynchronizationState
Source§fn from(value: btck_SynchronizationState) -> Self
fn from(value: btck_SynchronizationState) -> Self
Converts to this type from the input type.
Source§impl Hash for SynchronizationState
impl Hash for SynchronizationState
Source§impl PartialEq for SynchronizationState
impl PartialEq for SynchronizationState
impl Copy for SynchronizationState
impl Eq for SynchronizationState
impl StructuralPartialEq for SynchronizationState
Auto Trait Implementations§
impl Freeze for SynchronizationState
impl RefUnwindSafe for SynchronizationState
impl Send for SynchronizationState
impl Sync for SynchronizationState
impl Unpin for SynchronizationState
impl UnwindSafe for SynchronizationState
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