println_lossy

Function println_lossy 

Source
pub fn println_lossy<T>(value: &T)
where T: ?Sized + ToBytes,
Expand description

Prints a value to the standard output stream, followed by a newline.

This function is similar to println! 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::println_lossy;

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