pub struct IoPolicy {
pub stdout: Stream,
pub stderr: Stream,
}Expand description
How a child process’s output streams are handled.
Fields§
§stdout: StreamHandling for standard output.
stderr: StreamHandling for standard error.
Implementations§
Source§impl IoPolicy
impl IoPolicy
Sourcepub const SILENT: Self
pub const SILENT: Self
Capture everything - used for build steps, whose output is only interesting when they fail.
Trait Implementations§
impl Copy for IoPolicy
impl Eq for IoPolicy
impl StructuralPartialEq for IoPolicy
Auto Trait Implementations§
impl Freeze for IoPolicy
impl RefUnwindSafe for IoPolicy
impl Send for IoPolicy
impl Sync for IoPolicy
impl Unpin for IoPolicy
impl UnsafeUnpin for IoPolicy
impl UnwindSafe for IoPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.