pub struct DiagnosticLevelParseError;Expand description
Error returned when parsing a diagnostic level fails.
Trait Implementations§
Source§impl Clone for DiagnosticLevelParseError
impl Clone for DiagnosticLevelParseError
Source§fn clone(&self) -> DiagnosticLevelParseError
fn clone(&self) -> DiagnosticLevelParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiagnosticLevelParseError
impl Debug for DiagnosticLevelParseError
Source§impl Display for DiagnosticLevelParseError
impl Display for DiagnosticLevelParseError
Source§impl Error for DiagnosticLevelParseError
impl Error for DiagnosticLevelParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DiagnosticLevelParseError
impl PartialEq for DiagnosticLevelParseError
Source§fn eq(&self, other: &DiagnosticLevelParseError) -> bool
fn eq(&self, other: &DiagnosticLevelParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DiagnosticLevelParseError
impl Eq for DiagnosticLevelParseError
impl StructuralPartialEq for DiagnosticLevelParseError
Auto Trait Implementations§
impl Freeze for DiagnosticLevelParseError
impl RefUnwindSafe for DiagnosticLevelParseError
impl Send for DiagnosticLevelParseError
impl Sync for DiagnosticLevelParseError
impl Unpin for DiagnosticLevelParseError
impl UnsafeUnpin for DiagnosticLevelParseError
impl UnwindSafe for DiagnosticLevelParseError
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