pub enum OutputStream {
Terminal,
HandlerOnly,
}Expand description
Controls whether runner output is streamed directly to the terminal.
Variants§
Terminal
Stream runner output to stdout/stderr as well as any output handler.
HandlerOnly
Suppress direct terminal output and only deliver output to the handler.
Implementations§
Source§impl OutputStream
impl OutputStream
Sourcepub fn streams_to_terminal(self) -> bool
pub fn streams_to_terminal(self) -> bool
Returns true when output should be streamed to stdout/stderr.
Trait Implementations§
Source§impl Clone for OutputStream
impl Clone for OutputStream
Source§fn clone(&self) -> OutputStream
fn clone(&self) -> OutputStream
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputStream
impl Debug for OutputStream
Source§impl PartialEq for OutputStream
impl PartialEq for OutputStream
impl Copy for OutputStream
impl Eq for OutputStream
impl StructuralPartialEq for OutputStream
Auto Trait Implementations§
impl Freeze for OutputStream
impl RefUnwindSafe for OutputStream
impl Send for OutputStream
impl Sync for OutputStream
impl Unpin for OutputStream
impl UnsafeUnpin for OutputStream
impl UnwindSafe for OutputStream
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.