from_vec

Function from_vec 

Source
pub fn from_vec<'de, T>(decoder: &mut Decoder, bytes: Vec<u8>) -> Result<T>
where T: Deserialize<'de>,
👎Deprecated since 0.3.4: use from_buffer() or from_slice() instead
Expand description

Decode single message from Vec<u8>.