Function async_bincode::serialize_into
source · pub fn serialize_into<W, T: ?Sized>(writer: W, value: &T) -> Result<()>where
W: Write,
T: Serialize,
Expand description
Serializes an object directly into a Writer
using the default configuration.
If the serialization would take more bytes than allowed by the size limit, an error is returned
and no bytes will be written into the Writer
.