Output

Output (프로세스 완료 출력 구조체)

완료된 프로세스의 출력이에요.

출처: Rust 공식 문서

본문

이것은 Commandoutput 메서드나 Childwait_with_output 메서드가 Result로 반환해요. stdout, stderr, status 필드를 담고 있어요.

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

더 알아보기 (Learn more)

Rust 공식 문서