Output
Output (프로세스 완료 출력 구조체)
완료된 프로세스의 출력이에요.
출처: Rust 공식 문서
본문
이것은 Command의 output 메서드나 Child의 wait_with_output 메서드가 Result로 반환해요. stdout, stderr, status 필드를 담고 있어요.
pub struct Output {
pub status: ExitStatus,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
}