pub enum Stream {
    Stdout,
    Stderr,
    Stdin,
}
Expand description

Standard input / output streams.

Variants

Stdout

Standard output.

Stderr

Standard error.

Stdin

Standard input.

Trait Implementations

A type which describes the attributes of this stream / terminal.

Returns whether or not this stream refers to an interactive terminal (a TTY), as opposed to, for example, a pipe. Read more

Retrieve the current attributes of this stream / terminal.

Modify this stream’s / terminal’s attributes to match the given state.

Return a Read for this stream, if reading is supported.

Return a Write for this stream, if writing is supported.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more