pub enum XvcOutputLine {
Output(String),
Info(String),
Debug(String),
Warn(String),
Error(String),
Panic(String),
Tick(usize),
}Expand description
Different channels of outputs Xvc can print
Variants§
Output(String)
The output that we should be reporting to user
Info(String)
For informational messages
Debug(String)
For debug output to show the internals of Xvc
Warn(String)
Warnings that are against some usual workflows
Error(String)
Errors that interrupts a workflow but may be recoverable
Panic(String)
Panics that interrupts the workflow and ends the program Note that this doesn’t call panic! automatically
Tick(usize)
Progress bar ticks. Self::Info is also used for Tick(1)
Implementations§
Trait Implementations§
Source§impl Clone for XvcOutputLine
impl Clone for XvcOutputLine
Source§fn clone(&self) -> XvcOutputLine
fn clone(&self) -> XvcOutputLine
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 XvcOutputLine
impl Debug for XvcOutputLine
Source§impl Display for XvcOutputLine
impl Display for XvcOutputLine
Source§impl From<&str> for XvcOutputLine
impl From<&str> for XvcOutputLine
Auto Trait Implementations§
impl Freeze for XvcOutputLine
impl RefUnwindSafe for XvcOutputLine
impl Send for XvcOutputLine
impl Sync for XvcOutputLine
impl Unpin for XvcOutputLine
impl UnwindSafe for XvcOutputLine
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