pub struct Stdio;Expand description
The CLI’s sink: println! and eprintln!, the transient line redrawn
with \r when stderr is a terminal and dropped otherwise.
Trait Implementations§
Source§impl Progress for Stdio
impl Progress for Stdio
fn out(&mut self, line: &str)
fn err(&mut self, line: &str)
Source§fn transient(&mut self, line: &str)
fn transient(&mut self, line: &str)
A line that replaces the previous transient one: the
N frames, F fps
counter of show video. A terminal redraws it; a job keeps every one.Source§fn clear_transient(&mut self)
fn clear_transient(&mut self)
The transient line is finished with.
Auto Trait Implementations§
impl Freeze for Stdio
impl RefUnwindSafe for Stdio
impl Send for Stdio
impl Sync for Stdio
impl Unpin for Stdio
impl UnsafeUnpin for Stdio
impl UnwindSafe for Stdio
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more