pub trait IntoStorageKey {
    // Required method
    fn into_storage_key(self) -> Vec<u8> ;
}
Expand description

Converts Self into a Vec<u8> that is used for a storage key through into_storage_key.

Required Methods§

source

fn into_storage_key(self) -> Vec<u8>

Consumes self and returns Vec<u8> bytes which are used as a storage key.

Implementations on Foreign Types§

source§

impl IntoStorageKey for u8

source§

impl IntoStorageKey for Vec<u8>

source§

impl<'a> IntoStorageKey for &'a [u8; 1]

source§

impl<'a> IntoStorageKey for &'a [u8]

Implementors§

source§

impl<T> IntoStorageKey for T
where T: BorshIntoStorageKey,