Enum fuel_core_interfaces::relayer::DaSyncState
source · [−]pub enum DaSyncState {
RelayerSyncing,
OverlapingSync,
Synced,
}Variants
RelayerSyncing
relayer is syncing old state
OverlapingSync
fetch last N blocks to get their logs. Parse them and save them inside pending state in parallel start receiving logs from stream and overlap them. when first fetch is finished discard all logs from log stream and start receiving new onews.
Synced
We have all past logs ready and can just listen to new ones commint from eth
Trait Implementations
sourceimpl Clone for DaSyncState
impl Clone for DaSyncState
sourcefn clone(&self) -> DaSyncState
fn clone(&self) -> DaSyncState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DaSyncState
impl Debug for DaSyncState
sourceimpl PartialEq<DaSyncState> for DaSyncState
impl PartialEq<DaSyncState> for DaSyncState
impl Copy for DaSyncState
impl Eq for DaSyncState
impl StructuralEq for DaSyncState
impl StructuralPartialEq for DaSyncState
Auto Trait Implementations
impl RefUnwindSafe for DaSyncState
impl Send for DaSyncState
impl Sync for DaSyncState
impl Unpin for DaSyncState
impl UnwindSafe for DaSyncState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more