pub fn to_vec<T>(value: &T) -> Result<Vec<u8>, VecWriterError> where
    T: ?Sized + Encode
Expand description

Encode the given value to a Vec using the DEFAULT configuration.