Trait mas_storage::Repository

source ·
pub trait Repository<E>:
    RepositoryAccess<Error = E>
    + RepositoryTransaction<Error = E>
    + Send
where E: Error + Send + Sync + 'static,
{ }
Expand description

A Repository helps interacting with the underlying storage backend.

Implementors§

source§

impl<R, F, E1, E2> Repository<E2> for MapErr<R, F>
where R: Repository<E1> + RepositoryAccess<Error = E1> + RepositoryTransaction<Error = E1>, F: FnMut(E1) -> E2 + Send + Sync + 'static, E1: Error + Send + Sync + 'static, E2: Error + Send + Sync + 'static,