Function print_bytes::eprint_lossy

source ·
pub fn eprint_lossy<T>(value: &T)
where T: ?Sized + ToBytes,
Expand description

Prints a value to the standard error stream.

This function is similar to eprint! but does not take a format parameter.

For more information, see the module-level documentation.

§Panics

Panics if writing to the stream fails.

§Examples

use std::env;

use print_bytes::eprint_lossy;

eprint_lossy(&env::current_exe()?);