pub trait StorageMapper<SA>: 'staticwhere
SA: StorageMapperApi,{
// Required method
fn new(base_key: StorageKey<SA>) -> Self;
}
Required Methods§
Sourcefn new(base_key: StorageKey<SA>) -> Self
fn new(base_key: StorageKey<SA>) -> Self
Will be called automatically by the #[storage_mapper]
annotation generated code.
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.