pub struct DiscardedStreamConfig;Expand description
Configuration produced by ProcessStreamBuilder::discard. The matching child stdio slot is
set to Stdio::null(), so the OS discards the bytes; no pipe is allocated and no reader
task runs in the parent.
Trait Implementations§
Source§impl Clone for DiscardedStreamConfig
impl Clone for DiscardedStreamConfig
Source§fn clone(&self) -> DiscardedStreamConfig
fn clone(&self) -> DiscardedStreamConfig
Returns a duplicate 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 moreSource§impl Debug for DiscardedStreamConfig
impl Debug for DiscardedStreamConfig
Source§impl PartialEq for DiscardedStreamConfig
impl PartialEq for DiscardedStreamConfig
impl Copy for DiscardedStreamConfig
impl Eq for DiscardedStreamConfig
impl StructuralPartialEq for DiscardedStreamConfig
Auto Trait Implementations§
impl Freeze for DiscardedStreamConfig
impl RefUnwindSafe for DiscardedStreamConfig
impl Send for DiscardedStreamConfig
impl Sync for DiscardedStreamConfig
impl Unpin for DiscardedStreamConfig
impl UnsafeUnpin for DiscardedStreamConfig
impl UnwindSafe for DiscardedStreamConfig
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