Function encode_to_vec

Source
pub fn encode_to_vec<T: RpcCodec>(v: &T) -> Result<Vec<u8>, CodecError>
Expand description

Encodes the type into a vec.