pub(crate) struct Command {
stdin: ChildStdin,
stdout: ChildStdout,
}Expand description
A Command stream socket.
This socket communicates with a spawned child process via its standard input and output streams.
Fields§
§stdin: ChildStdin§stdout: ChildStdoutImplementations§
Source§impl Command
impl Command
fn into_split(self) -> (ChildStdout, ChildStdin)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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