Enum PrecipitationKindParseError
pub enum PrecipitationKindParseError {
Empty,
}Expand description
Error returned when parsing precipitation kinds fails.
Variants§
Empty
The precipitation kind was empty after trimming whitespace.
Trait Implementations§
§impl Clone for PrecipitationKindParseError
impl Clone for PrecipitationKindParseError
§fn clone(&self) -> PrecipitationKindParseError
fn clone(&self) -> PrecipitationKindParseError
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 more§impl Debug for PrecipitationKindParseError
impl Debug for PrecipitationKindParseError
§impl Display for PrecipitationKindParseError
impl Display for PrecipitationKindParseError
§impl Error for PrecipitationKindParseError
impl Error for PrecipitationKindParseError
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()
§impl PartialEq for PrecipitationKindParseError
impl PartialEq for PrecipitationKindParseError
impl Copy for PrecipitationKindParseError
impl Eq for PrecipitationKindParseError
impl StructuralPartialEq for PrecipitationKindParseError
Auto Trait Implementations§
impl Freeze for PrecipitationKindParseError
impl RefUnwindSafe for PrecipitationKindParseError
impl Send for PrecipitationKindParseError
impl Sync for PrecipitationKindParseError
impl Unpin for PrecipitationKindParseError
impl UnsafeUnpin for PrecipitationKindParseError
impl UnwindSafe for PrecipitationKindParseError
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