Function stderr

Source
pub fn stderr() -> StderrUnblock
Expand description

Get the synchronised blocking::Unblock-ed stderr. A best-effort attempt is made to flush the asynchronous standard error upon program exit (including things stored in the pipe it uses to do async things).

The returned handle cannot be locked in a re-entrant fashion while the lock is held, within a future/task that is being waited for. If you try, it will cause a deadlock.