std::process::Output

Struct std::process::Output

pub struct Output {
    pub status: ExitStatus,
    pub stdout: Vec<u8>,
    pub stderr: Vec<u8>,
}

The output of a finished process.

Fields

The status (exit code) of the process.

The data that the process wrote to stdout.

The data that the process wrote to stderr.

Trait Implementations

impl PartialEq for Output [src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Output [src]

impl Clone for Output [src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Output
1.7.0
[src]

Formats the value using the given formatter.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/process/struct.Output.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部