sync15::engine

Trait BridgedEngineAdaptor

source
pub trait BridgedEngineAdaptor: Send + Sync {
    // Required methods
    fn last_sync(&self) -> Result<i64>;
    fn set_last_sync(&self, last_sync_millis: i64) -> Result<()>;
    fn engine(&self) -> &dyn SyncEngine;

    // Provided method
    fn sync_started(&self) -> Result<()> { ... }
}

Required Methods§

source

fn last_sync(&self) -> Result<i64>

source

fn set_last_sync(&self, last_sync_millis: i64) -> Result<()>

source

fn engine(&self) -> &dyn SyncEngine

Provided Methods§

Implementors§