[][src]Function bincode::deserialize_from_custom

pub fn deserialize_from_custom<'a, R, T>(reader: R) -> Result<T> where
    R: BincodeRead<'a>,
    T: DeserializeOwned

Deserializes an object from a custom BincodeReader using the default configuration. It is highly recommended to use deserialize_from unless you need to implement BincodeRead for performance reasons.

If this returns an Error, reader may be in an invalid state.