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