pub struct StdioEcho;Expand description
Echoes live output to the terminal: standard error to standard error, and everything else to standard output.
It writes with Write::write_all and Write::flush on the locked stream, which
return the error of a write that fails, such as one to a closed pipe, where the
print! macros would panic (“Kizz never panics”); the tracer drops that error,
so the run goes on and its captured output stays complete.
Trait Implementations§
impl Copy for StdioEcho
Auto Trait Implementations§
impl Freeze for StdioEcho
impl RefUnwindSafe for StdioEcho
impl Send for StdioEcho
impl Sync for StdioEcho
impl Unpin for StdioEcho
impl UnsafeUnpin for StdioEcho
impl UnwindSafe for StdioEcho
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