Trait parity_scale_codec::KeyedVec[][src]

pub trait KeyedVec {
    fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
; }
Expand description

Trait to allow itself to be serialised and prepended by a given slice.

Required methods

Return an encoding of Self prepended by given slice.

Implementors