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