pub enum XvcVerbosity {
Quiet,
Default,
Warn,
Info,
Debug,
Trace,
}
Expand description
Verbosity levels for Xvc CLI
Variants§
Quiet
Do not print anything
Default
Print default output and errors
Warn
Print default output, warnings and errors
Info
Print default output, info, warnings and errors
Debug
Print default output, errors, warnings, info and debug output
Trace
Print default output, errors, warnings, info, debug and tracing output
Trait Implementations§
Source§impl Clone for XvcVerbosity
impl Clone for XvcVerbosity
Source§fn clone(&self) -> XvcVerbosity
fn clone(&self) -> XvcVerbosity
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 XvcVerbosity
impl Debug for XvcVerbosity
Source§impl Display for XvcVerbosity
impl Display for XvcVerbosity
Source§impl<'_derivative_strum> From<&'_derivative_strum XvcVerbosity> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum XvcVerbosity> for &'static str
Source§fn from(x: &'_derivative_strum XvcVerbosity) -> &'static str
fn from(x: &'_derivative_strum XvcVerbosity) -> &'static str
Converts to this type from the input type.
Source§impl From<XvcVerbosity> for &'static str
impl From<XvcVerbosity> for &'static str
Source§fn from(x: XvcVerbosity) -> &'static str
fn from(x: XvcVerbosity) -> &'static str
Converts to this type from the input type.
Source§impl From<u8> for XvcVerbosity
impl From<u8> for XvcVerbosity
Source§fn from(v: u8) -> XvcVerbosity
fn from(v: u8) -> XvcVerbosity
Converts to this type from the input type.
Source§impl FromStr for XvcVerbosity
impl FromStr for XvcVerbosity
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<XvcVerbosity, <XvcVerbosity as FromStr>::Err>
fn from_str(s: &str) -> Result<XvcVerbosity, <XvcVerbosity as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl TryFrom<&str> for XvcVerbosity
impl TryFrom<&str> for XvcVerbosity
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<XvcVerbosity, <XvcVerbosity as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<XvcVerbosity, <XvcVerbosity as TryFrom<&str>>::Error>
Performs the conversion.
impl Copy for XvcVerbosity
Auto Trait Implementations§
impl Freeze for XvcVerbosity
impl RefUnwindSafe for XvcVerbosity
impl Send for XvcVerbosity
impl Sync for XvcVerbosity
impl Unpin for XvcVerbosity
impl UnwindSafe for XvcVerbosity
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more