pub struct RobotsError(pub String);Expand description
Parse failure.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for RobotsError
impl Clone for RobotsError
Source§fn clone(&self) -> RobotsError
fn clone(&self) -> RobotsError
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 RobotsError
impl Debug for RobotsError
Source§impl Display for RobotsError
impl Display for RobotsError
impl Eq for RobotsError
Source§impl Error for RobotsError
impl Error for RobotsError
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 RobotsError
impl PartialEq for RobotsError
impl StructuralPartialEq for RobotsError
Auto Trait Implementations§
impl Freeze for RobotsError
impl RefUnwindSafe for RobotsError
impl Send for RobotsError
impl Sync for RobotsError
impl Unpin for RobotsError
impl UnsafeUnpin for RobotsError
impl UnwindSafe for RobotsError
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