from_ref

Function from_ref 

Source
pub fn from_ref<'de, P, T>(p: P) -> Result<T>
where P: Into<DynProducerComplete<'de>>, T: Deserialize<'de>,
Expand description

Deserialize from something that can be converted into a DynProducerComplete, such as a byte array slice (&[u8])