pub enum RiskLevelParseError {
Empty,
}Expand description
Errors returned while parsing risk levels.
Variants§
Empty
The input was empty after trimming whitespace.
Trait Implementations§
Source§impl Clone for RiskLevelParseError
impl Clone for RiskLevelParseError
Source§fn clone(&self) -> RiskLevelParseError
fn clone(&self) -> RiskLevelParseError
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 RiskLevelParseError
impl Debug for RiskLevelParseError
Source§impl Display for RiskLevelParseError
impl Display for RiskLevelParseError
Source§impl Error for RiskLevelParseError
impl Error for RiskLevelParseError
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 RiskLevelParseError
impl PartialEq for RiskLevelParseError
Source§fn eq(&self, other: &RiskLevelParseError) -> bool
fn eq(&self, other: &RiskLevelParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RiskLevelParseError
impl Eq for RiskLevelParseError
impl StructuralPartialEq for RiskLevelParseError
Auto Trait Implementations§
impl Freeze for RiskLevelParseError
impl RefUnwindSafe for RiskLevelParseError
impl Send for RiskLevelParseError
impl Sync for RiskLevelParseError
impl Unpin for RiskLevelParseError
impl UnsafeUnpin for RiskLevelParseError
impl UnwindSafe for RiskLevelParseError
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