Struct cli_log::ParseLevelError [−][src]
pub struct ParseLevelError(_);
Expand description
The type returned by from_str
when the string doesn’t match any of the log levels.
Trait Implementations
impl Debug for ParseLevelError
[src]
impl Debug for ParseLevelError
[src]impl Display for ParseLevelError
[src]
impl Display for ParseLevelError
[src]impl Error for ParseLevelError
[src]
impl Error for ParseLevelError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl PartialEq<ParseLevelError> for ParseLevelError
[src]
impl PartialEq<ParseLevelError> for ParseLevelError
[src]pub fn eq(&self, other: &ParseLevelError) -> bool
[src]
pub fn eq(&self, other: &ParseLevelError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &ParseLevelError) -> bool
[src]
pub fn ne(&self, other: &ParseLevelError) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for ParseLevelError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParseLevelError
impl Send for ParseLevelError
impl Sync for ParseLevelError
impl Unpin for ParseLevelError
impl UnwindSafe for ParseLevelError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more