pub trait HasSchemasAndRegistries<T> {
type Schemas;
type Registries;
// Required methods
fn schemas(&self, registry_id: TrustRegistryId) -> Self::Schemas;
fn registries(&self) -> Self::Registries;
fn modify_schemas<F, R>(&self, registry_id: TrustRegistryId, f: F) -> R
where F: FnOnce(&mut Self::Schemas) -> R;
fn modify_registries<F, R>(&self, f: F) -> R
where F: FnOnce(&mut Self::Registries) -> R;
}
Expand description
An entity that has references to schemas and registries.
Required Associated Types§
sourcetype Registries
type Registries
Associated Registries
.