pub enum OutputKind {
Stdout,
Stderr,
}
Expand description
The kind of output (stdout or stderr)
Variants§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for OutputKind
impl<'__de, __Context> BorrowDecode<'__de, __Context> for OutputKind
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for OutputKind
impl Clone for OutputKind
Source§fn clone(&self) -> OutputKind
fn clone(&self) -> OutputKind
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 OutputKind
impl Debug for OutputKind
Source§impl<__Context> Decode<__Context> for OutputKind
impl<__Context> Decode<__Context> for OutputKind
Source§impl Display for OutputKind
impl Display for OutputKind
Source§impl Encode for OutputKind
impl Encode for OutputKind
Source§impl From<OutputKind> for &'static str
impl From<OutputKind> for &'static str
Source§fn from(kind: OutputKind) -> Self
fn from(kind: OutputKind) -> Self
Converts to this type from the input type.
Source§impl Hash for OutputKind
impl Hash for OutputKind
Source§impl Ord for OutputKind
impl Ord for OutputKind
Source§fn cmp(&self, other: &OutputKind) -> Ordering
fn cmp(&self, other: &OutputKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutputKind
impl PartialEq for OutputKind
Source§impl PartialOrd for OutputKind
impl PartialOrd for OutputKind
impl Copy for OutputKind
impl Eq for OutputKind
impl StructuralPartialEq for OutputKind
Auto Trait Implementations§
impl Freeze for OutputKind
impl RefUnwindSafe for OutputKind
impl Send for OutputKind
impl Sync for OutputKind
impl Unpin for OutputKind
impl UnwindSafe for OutputKind
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