pub enum Stream {
Stdout,
Stderr,
Stdin,
}
Expand description
Standard input / output streams.
Variants
Stdout
Standard output.
Stderr
Standard error.
Stdin
Standard input.
Trait Implementations
type Attributes = TerminalAttributes
type Attributes = TerminalAttributes
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.
Auto Trait Implementations
impl RefUnwindSafe for Stream
impl UnwindSafe for Stream
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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