Skip to main content

OutputExt

Trait OutputExt 

Source
pub trait OutputExt {
    // Required methods
    fn success(&self) -> bool;
    fn error(&self) -> bool;
    fn has_stdout(&self) -> bool;
    fn has_signal(&self) -> bool;
    fn signal(&self) -> Option<i32>;
    fn interrupt(&self) -> bool;
    fn kill(&self) -> bool;
}

Required Methods§

Source

fn success(&self) -> bool

Source

fn error(&self) -> bool

Source

fn has_stdout(&self) -> bool

Source

fn has_signal(&self) -> bool

Source

fn signal(&self) -> Option<i32>

Source

fn interrupt(&self) -> bool

Source

fn kill(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl OutputExt for Output

Source§

fn success(&self) -> bool

Source§

fn error(&self) -> bool

Source§

fn has_stdout(&self) -> bool

Source§

fn has_signal(&self) -> bool

Source§

fn signal(&self) -> Option<i32>

Source§

fn interrupt(&self) -> bool

Source§

fn kill(&self) -> bool

Implementors§