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