Skip to main content

OutputExt

Trait OutputExt 

Source
pub trait OutputExt {
    // Required methods
    fn stdout_lossy(&self) -> String;
    fn stderr_lossy(&self) -> String;
}
Expand description

Extension trait for Output.

Required Methods§

Source

fn stdout_lossy(&self) -> String

Returns the stdout as lossy string

Source

fn stderr_lossy(&self) -> String

Returns the stderr as lossy string

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

Implementors§