pub fn rmp_encode<W, S>(write: &mut W, item: S) -> Result<(), Error> where
    W: Write,
    S: Serialize
Expand description

Encode a serde::Serialize item as message-pack data to given writer. You may wish to first wrap your writer in a BufWriter.