Trait Repository

Source
pub trait Repository<V: Identity> {
    type Error: Send + 'static;
}
Expand description

Marker trait with Error definition for operations

Required Associated Types§

Source

type Error: Send + 'static

Implementors§

Source§

impl<H, T, V, R> Repository<V> for RepositoryWrapper<H, T, V, R>
where V: Identity, H: Operation, R: Repository<V> + Repository<V>,

Source§

type Error = <R as Repository<V>>::Error

Source§

impl<T, E> Repository<T> for InMemoryRepository<T, E>
where T: Identity + Clone, E: Send + 'static,

Source§

type Error = E