Skip to main content

stderr

Function stderr 

Source
pub fn stderr() -> Stderr 
Expand description

Return a handle to inherited standard error.

Every call returns a cheap Copy handle referencing the same process-wide stderr state. Writes are unbuffered and serialized through this module’s stderr lock.

§Returns

A Stderr handle.

§Errors and panics

This function does not fail or intentionally panic. I/O errors are reported by the handle’s Write implementation.