pub trait StandardOutput<'a>: Control + 'a {
// Required method
fn standard_output(&mut self) -> &mut ChildStdout;
// Provided methods
fn framed_stdout<D, Item>(
&mut self,
decoder: D,
) -> FramedRead<&mut ChildStdout, D>
where D: Decoder<Item = Item> { ... }
fn capture_stdout<D, Item>(
self,
decoder: D,
) -> Capture<'a, Self, D, ChildStdout, Item>
where D: Decoder<Item = Item> { ... }
}Expand description
Access the standard output of a running Process
Required Methods§
Sourcefn standard_output(&mut self) -> &mut ChildStdout
fn standard_output(&mut self) -> &mut ChildStdout
get access to the standard output
Provided Methods§
fn framed_stdout<D, Item>(
&mut self,
decoder: D,
) -> FramedRead<&mut ChildStdout, D>where
D: Decoder<Item = Item>,
fn capture_stdout<D, Item>(
self,
decoder: D,
) -> Capture<'a, Self, D, ChildStdout, Item>where
D: Decoder<Item = Item>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.