# Struct std::process::Stdio 1.0.0 [−] [src]

    pub struct Stdio(_);

Describes what to do with a standard I/O stream for a child process.

## Methods

### `impl Stdio`
[src]

#### `fn piped() -> Stdio`

A new pipe should be arranged to connect the parent and child processes.

#### `fn inherit() -> Stdio`

The child inherits from the corresponding parent descriptor.

#### `fn null() -> Stdio`

This stream will be ignored. This is the equivalent of attaching the stream to `/dev/null`

## Trait Implementations

### `impl Debug for Stdio`
1.16.0
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl From<ChildStdin> for Stdio`
1.20.0
[src]

#### `fn from(child: ChildStdin) -> Stdio`

Performs the conversion.

### `impl From<ChildStdout> for Stdio`
1.20.0
[src]

#### `fn from(child: ChildStdout) -> Stdio`

Performs the conversion.

### `impl From<ChildStderr> for Stdio`
1.20.0
[src]

#### `fn from(child: ChildStderr) -> Stdio`

Performs the conversion.

### `impl From<File> for Stdio`
1.20.0
[src]

#### `fn from(file: File) -> Stdio`

Performs the conversion.

### `impl FromRawFd for Stdio`
1.2.0
[src]

#### `unsafe fn from_raw_fd(fd: RawFd) -> Stdio`

Constructs a new instance of `Self` from the given raw file descriptor. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)