Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::rmpv::encode::write_value
pub fn write_value<W>(
wr: &mut W,
val: &Value
) -> Result<(), ValueWriteError<Error>>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.