Trait MigrateStorageWithPrefix

Source
pub trait MigrateStorageWithPrefix<T>: Sized {
    // Required method
    fn migrate<S>(val: T, prefix: S) -> Self
       where S: IntoStorageKey;
}

Required Methods§

Source

fn migrate<S>(val: T, prefix: S) -> Self
where S: IntoStorageKey,

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.

Implementors§