pub enum Destination {
None,
Stdout,
Stderr,
}Available on crate feature
view only.Expand description
Where a view sends rendered output.
ctl_term::Stream names the stream that colour
and width are decided for. A destination can also be no output at all.
The set is closed, and the enum is not #[non_exhaustive]: a process has
one standard output and one standard error, and quiet output goes to
neither.
Variants§
None
No output, used for quiet successful pretty output.
Stdout
Standard output.
Stderr
Standard error.
Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
impl Copy for Destination
Source§impl Debug for Destination
impl Debug for Destination
impl Eq for Destination
Source§impl PartialEq for Destination
impl PartialEq for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Forget for Destination
impl Freeze for Destination
impl Move for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnsafeUnpin for Destination
impl UnwindSafe for Destination
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