Trait serdeconv::FromMsgPack [] [src]

pub trait FromMsgPack: for<'a> Deserialize<'a> {
    fn from_msgpack_file<P: AsRef<Path>>(path: P) -> Result<Self> { ... }
    fn from_msgpack_reader<R: Read>(reader: R) -> Result<Self> { ... }
    fn from_msgpack_slice(toml: &[u8]) -> Result<Self> { ... }
}

This trait allows to convert MessagePack binaries to deserializable values.

Provided Methods

Converts from the MessagePack file to an instance of this implementation.

Reads a MessagePack bytes from the reader and converts it to an instance of this implementation.

Converts from the MessagePack bytes to an instance of this implementation.

Implementors