Function rmp::encode::write_str
[−]
[src]
pub fn write_str<W>(wr: &mut W, data: &str) -> Result<(), ValueWriteError> where W: Write
Encodes and attempts to write the most efficient string implementation to the given Write
.
Errors
This function will return ValueWriteError
on any I/O error occurred while writing either the
marker or the data, except the EINTR, which is handled internally.