pub enum SynchronizationState {
INIT_REINDEX,
INIT_DOWNLOAD,
POST_INIT,
}Expand description
The current synch state, i.e. whether in reindex, ibd, or complete. Emitted by the block tip notification.
Variants§
Trait Implementations§
Source§impl Debug for SynchronizationState
impl Debug for SynchronizationState
Source§impl From<u32> for SynchronizationState
impl From<u32> for SynchronizationState
Source§fn from(state: kernel_SynchronizationState) -> SynchronizationState
fn from(state: kernel_SynchronizationState) -> SynchronizationState
Converts to this type from the input type.
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