Function lair_keystore_api::dependencies::rmpv::encode::write_value
pub fn write_value<W>(wr: &mut W, val: &Value) -> Result<(), ValueWriteError>where
W: Write,
Expand description
Encodes and attempts to write the most efficient representation of the given Value.
§Note
All instances of ErrorKind::Interrupted
are handled by this function and the underlying
operation is retried.