pub trait RepoFactory {
type Repo: Repo;
type Crypto;
// Required method
fn build_repo(&self, crypto: Self::Crypto) -> Self::Repo;
}
Expand description
A type used to produce Repos
Required Associated Types§
Required Methods§
Sourcefn build_repo(&self, crypto: Self::Crypto) -> Self::Repo
fn build_repo(&self, crypto: Self::Crypto) -> Self::Repo
Produce the Repo