pub trait SynchronizationPhaseTrait: Send + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn phase_type(&self) -> SyncPhaseType;
    fn next(
        &self,
        _io: &dyn NetworkContext,
        _sync_handler: &SynchronizationProtocolHandler
    ) -> SyncPhaseType;
    fn start(
        &self,
        _io: &dyn NetworkContext,
        _sync_handler: &SynchronizationProtocolHandler
    );
}

Required Methods§

source

fn name(&self) -> &'static str

source

fn phase_type(&self) -> SyncPhaseType

source

fn next( &self, _io: &dyn NetworkContext, _sync_handler: &SynchronizationProtocolHandler ) -> SyncPhaseType

source

fn start( &self, _io: &dyn NetworkContext, _sync_handler: &SynchronizationProtocolHandler )

Implementors§