pub struct PersistentOutput { /* private fields */ }Expand description
Persistent process output forwarding policy.
Implementations§
Source§impl PersistentOutput
impl PersistentOutput
Sourcepub const fn capture_only() -> Self
pub const fn capture_only() -> Self
Capture output without forwarding it to the parent process streams.
Sourcepub const fn forward(
stdout: PersistentOutputStream,
stderr: PersistentOutputStream,
) -> Self
pub const fn forward( stdout: PersistentOutputStream, stderr: PersistentOutputStream, ) -> Self
Capture and forward stdout/stderr to the selected parent streams.
Trait Implementations§
Source§impl Clone for PersistentOutput
impl Clone for PersistentOutput
Source§fn clone(&self) -> PersistentOutput
fn clone(&self) -> PersistentOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PersistentOutput
Auto Trait Implementations§
impl Freeze for PersistentOutput
impl RefUnwindSafe for PersistentOutput
impl Send for PersistentOutput
impl Sync for PersistentOutput
impl Unpin for PersistentOutput
impl UnsafeUnpin for PersistentOutput
impl UnwindSafe for PersistentOutput
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