pub enum DiagnosticsStream {
Stdout,
Stderr,
}Expand description
Which process stream carries a tool’s diagnostics.
go vet writes to stderr, so reading only stdout would report every Go
file clean. An enum because the runner compares it exactly once: a typo’d
string silently selected stdout, which is that same failure.
Variants§
Trait Implementations§
Source§impl Clone for DiagnosticsStream
impl Clone for DiagnosticsStream
Source§fn clone(&self) -> DiagnosticsStream
fn clone(&self) -> DiagnosticsStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagnosticsStream
Source§impl Debug for DiagnosticsStream
impl Debug for DiagnosticsStream
impl Eq for DiagnosticsStream
Source§impl PartialEq for DiagnosticsStream
impl PartialEq for DiagnosticsStream
impl StructuralPartialEq for DiagnosticsStream
Auto Trait Implementations§
impl Freeze for DiagnosticsStream
impl RefUnwindSafe for DiagnosticsStream
impl Send for DiagnosticsStream
impl Sync for DiagnosticsStream
impl Unpin for DiagnosticsStream
impl UnsafeUnpin for DiagnosticsStream
impl UnwindSafe for DiagnosticsStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.