Enum xvc_logging::XvcOutputLine
source · [−]pub enum XvcOutputLine {
Output(String),
Info(String),
Warn(String),
Error(String),
Panic(String),
Tick(usize),
}Variants
Output(String)
The output that we should be reporting
Info(String)
For informational messages the user doesn’t usually follow
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
sourceimpl Clone for XvcOutputLine
impl Clone for XvcOutputLine
sourcefn clone(&self) -> XvcOutputLine
fn clone(&self) -> XvcOutputLine
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for XvcOutputLine
impl Debug for XvcOutputLine
sourceimpl From<&str> for XvcOutputLine
impl From<&str> for XvcOutputLine
Auto Trait Implementations
impl RefUnwindSafe for XvcOutputLine
impl Send for XvcOutputLine
impl Sync for XvcOutputLine
impl Unpin for XvcOutputLine
impl UnwindSafe for XvcOutputLine
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more