Trait cross::shell::Stream

source ·
pub trait Stream {
    const TTY: Stream;
    const OWO: Stream;

    fn is_atty() -> bool { ... }
    fn owo(&self) -> Stream { ... }
}

Required Associated Constants§

Provided Methods§

source

fn is_atty() -> bool

source

fn owo(&self) -> Stream

Implementations on Foreign Types§

source§

impl Stream for Stdin

source§

const TTY: Stream = atty::Stream::Stdin

source§

const OWO: Stream = owo_colors::Stream::Stdin

source§

impl Stream for Stdout

source§

const TTY: Stream = atty::Stream::Stdout

source§

const OWO: Stream = owo_colors::Stream::Stdout

source§

impl Stream for Stderr

source§

const TTY: Stream = atty::Stream::Stderr

source§

const OWO: Stream = owo_colors::Stream::Stderr

Implementors§