pub trait StandardError<'a>: Control + 'a {
// Required method
fn standard_error(&mut self) -> &mut ChildStderr;
// Provided methods
fn framed_stderr<D, Item>(
&mut self,
decoder: D,
) -> FramedRead<&mut ChildStderr, D>
where D: Decoder<Item = Item> { ... }
fn capture_stderr<D, Item>(
self,
decoder: D,
) -> Capture<'a, Self, D, ChildStderr, Item>
where D: Decoder<Item = Item> { ... }
}Expand description
Access the standard error output of a running Process
Required Methods§
Sourcefn standard_error(&mut self) -> &mut ChildStderr
fn standard_error(&mut self) -> &mut ChildStderr
get access to the standard output
Provided Methods§
fn framed_stderr<D, Item>(
&mut self,
decoder: D,
) -> FramedRead<&mut ChildStderr, D>where
D: Decoder<Item = Item>,
fn capture_stderr<D, Item>(
self,
decoder: D,
) -> Capture<'a, Self, D, ChildStderr, 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.