lock_write_err

Function lock_write_err 

Source
pub fn lock_write_err<B>(bytes: B)
where B: AsRef<[u8]>,
Expand description

ยงLocks stderr and writes to it

  • For simplicity, any error will be caught and printed out via eprintln!().
  • The function will flush stderr when done.