pub trait DomainsDigestItem {
// Required methods
fn domain_runtime_upgrade(runtime_id: RuntimeId) -> Self;
fn as_domain_runtime_upgrade(&self) -> Option<RuntimeId>;
fn domain_instantiation(domain_id: DomainId) -> Self;
fn as_domain_instantiation(&self) -> Option<DomainId>;
}
Expand description
Domains specific digest items.
Required Methods§
fn domain_runtime_upgrade(runtime_id: RuntimeId) -> Self
fn as_domain_runtime_upgrade(&self) -> Option<RuntimeId>
fn domain_instantiation(domain_id: DomainId) -> Self
fn as_domain_instantiation(&self) -> Option<DomainId>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.