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