Function bincode::deserialize_from_custom[][src]

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

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.

Warning: the default configuration used by this function is not the same as that used by the DefaultOptions struct. See the config module for more details