[−][src]Function print_bytes::write_bytes
pub fn write_bytes<'a, TValue: ?Sized, TWriter: ?Sized>(
writer: &mut TWriter,
value: &'a TValue
) -> IoResult<()> where
TValue: ToBytes<'a>,
TWriter: Write,
Writes a value to a "writer".
This function is similar to write!
, but it does not take a format
parameter.
For more information, see the module-level documentation.
This function is only available with the "specialization"
feature.
Errors
If writing fails, an error is returned.