pub struct DaemonStdio<'a> {
pub stdout: DaemonStdioSource<'a>,
pub stderr: DaemonStdioSource<'a>,
}Expand description
Caller-supplied output bindings for a detached synchronous child.
Detached children may write only to the platform null device or to a caller-owned file. Parent stdio and anonymous pipes are intentionally not available because either can retain or depend on the launching process.
Fields§
§stdout: DaemonStdioSource<'a>Child standard output destination.
stderr: DaemonStdioSource<'a>Child standard error destination.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DaemonStdio<'a>
impl<'a> RefUnwindSafe for DaemonStdio<'a>
impl<'a> Send for DaemonStdio<'a>
impl<'a> Sync for DaemonStdio<'a>
impl<'a> Unpin for DaemonStdio<'a>
impl<'a> UnsafeUnpin for DaemonStdio<'a>
impl<'a> UnwindSafe for DaemonStdio<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more