pub enum CrawlError {
InvalidStart(String),
AddressBlocked(String),
Client(String),
}Expand description
Why a crawl could not run at all. A crawl that ran and stopped early is a
StopReason, not an error.
Variants§
Trait Implementations§
Source§impl Debug for CrawlError
impl Debug for CrawlError
Source§impl Display for CrawlError
impl Display for CrawlError
Source§impl Error for CrawlError
impl Error for CrawlError
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()
Auto Trait Implementations§
impl Freeze for CrawlError
impl RefUnwindSafe for CrawlError
impl Send for CrawlError
impl Sync for CrawlError
impl Unpin for CrawlError
impl UnsafeUnpin for CrawlError
impl UnwindSafe for CrawlError
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