pub struct InvalidSeverity(/* private fields */);Expand description
A severity value was not one of the allowed enumerations.
If you’re getting this error, you’re probably not using the values contained in Severity. See those docs for an example.
If you are doing this correctly and this is still failing, it’s probably a bug.
Trait Implementations§
Source§impl Debug for InvalidSeverity
impl Debug for InvalidSeverity
Source§impl Display for InvalidSeverity
impl Display for InvalidSeverity
Source§impl Error for InvalidSeverity
impl Error for InvalidSeverity
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()
Auto Trait Implementations§
impl Freeze for InvalidSeverity
impl RefUnwindSafe for InvalidSeverity
impl Send for InvalidSeverity
impl Sync for InvalidSeverity
impl Unpin for InvalidSeverity
impl UnsafeUnpin for InvalidSeverity
impl UnwindSafe for InvalidSeverity
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