Struct stdout_channel::StdoutChannel
source · pub struct StdoutChannel<T> { /* private fields */ }Implementations§
source§impl<T> StdoutChannel<T>where
T: Display + Send + 'static,
impl<T> StdoutChannel<T>where
T: Display + Send + 'static,
pub fn new() -> Self
pub fn with_mock_stdout(
mock_stdout: MockStdout<T>,
mock_stderr: MockStdout<T>
) -> Self
pub fn send(&self, item: impl Into<T>)
pub fn send_err(&self, item: impl Into<T>)
Trait Implementations§
source§impl<T: Clone> Clone for StdoutChannel<T>
impl<T: Clone> Clone for StdoutChannel<T>
source§fn clone(&self) -> StdoutChannel<T>
fn clone(&self) -> StdoutChannel<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more