autofill::sync::engine

Trait SyncEngineStorageImpl

source
pub trait SyncEngineStorageImpl<T> {
    // Required methods
    fn get_incoming_impl(
        &self,
        enc_key: &Option<String>,
    ) -> Result<Box<dyn ProcessIncomingRecordImpl<Record = T>>>;
    fn reset_storage(&self, conn: &Transaction<'_>) -> Result<()>;
    fn get_outgoing_impl(
        &self,
        enc_key: &Option<String>,
    ) -> Result<Box<dyn ProcessOutgoingRecordImpl<Record = T>>>;
}

Required Methods§

source

fn get_incoming_impl( &self, enc_key: &Option<String>, ) -> Result<Box<dyn ProcessIncomingRecordImpl<Record = T>>>

source

fn reset_storage(&self, conn: &Transaction<'_>) -> Result<()>

source

fn get_outgoing_impl( &self, enc_key: &Option<String>, ) -> Result<Box<dyn ProcessOutgoingRecordImpl<Record = T>>>

Implementors§