pub struct TeeHandler { /* private fields */ }Expand description
Handler that captures output AND echoes it to the real terminal.
Wraps a CaptureHandler internally so all data is available via finish().
Implementations§
Source§impl TeeHandler
impl TeeHandler
Trait Implementations§
Source§impl Debug for TeeHandler
impl Debug for TeeHandler
Source§impl Default for TeeHandler
impl Default for TeeHandler
Source§fn default() -> TeeHandler
fn default() -> TeeHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TeeHandler
impl RefUnwindSafe for TeeHandler
impl Send for TeeHandler
impl Sync for TeeHandler
impl Unpin for TeeHandler
impl UnsafeUnpin for TeeHandler
impl UnwindSafe for TeeHandler
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