[][src]Trait parity_scale_codec::KeyedVec

pub trait KeyedVec {
    fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>;
}

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>

Return an encoding of Self prepended by given slice.

Loading content...

Implementors

impl<T: Codec> KeyedVec for T[src]

Loading content...