pub trait StorageMapperFromAddress<SA>: 'staticwhere
SA: StorageMapperApi,{
// Required method
fn new_from_address(
address: ManagedAddress<SA>,
base_key: StorageKey<SA>,
) -> Self;
}
Required Methods§
Sourcefn new_from_address(
address: ManagedAddress<SA>,
base_key: StorageKey<SA>,
) -> Self
fn new_from_address( address: ManagedAddress<SA>, base_key: StorageKey<SA>, ) -> Self
Will be called automatically by the #[storage_mapper_from_address]
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.