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