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