Trait gclient::ext::sp_runtime::codec::KeyedVec
pub trait KeyedVec {
// Required method
fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8> ⓘ;
}
Expand description
Trait to allow itself to be serialised and prepended by a given slice.
Required Methods§
fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8> ⓘ
fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8> ⓘ
Return an encoding of Self
prepended by given slice.