Enum termcolor::StandardStreamType
source · pub(crate) enum StandardStreamType {
Stdout,
Stderr,
StdoutBuffered,
StderrBuffered,
}
Expand description
std::io
implements Stdout
and Stderr
(and their Lock
variants) as
separate types, which makes it difficult to abstract over them. We use
some simple internal enum types to work around this.
Variants§
Auto Trait Implementations§
impl Freeze for StandardStreamType
impl RefUnwindSafe for StandardStreamType
impl Send for StandardStreamType
impl Sync for StandardStreamType
impl Unpin for StandardStreamType
impl UnwindSafe for StandardStreamType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more