Enum spider::website::CrawlStatus
source · pub enum CrawlStatus {
Start,
Idle,
Active,
Blocked,
Empty,
Invalid,
}
Expand description
the active status of the crawl.
Variants§
Start
The crawl did not start yet.
Idle
The crawl is idle and has completed.
Active
The crawl is active.
Blocked
The crawl blocked from network ratelimit, firewall, etc.
Empty
The initial request ran without returning html.
Invalid
The URL of the website is invalid. Crawl cannot commence.
Trait Implementations§
source§impl Clone for CrawlStatus
impl Clone for CrawlStatus
source§fn clone(&self) -> CrawlStatus
fn clone(&self) -> CrawlStatus
Returns a copy of the value. Read more
1.0.0 · 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 CrawlStatus
impl Debug for CrawlStatus
source§impl Default for CrawlStatus
impl Default for CrawlStatus
source§fn default() -> CrawlStatus
fn default() -> CrawlStatus
Returns the “default value” for a type. Read more
source§impl Display for CrawlStatus
impl Display for CrawlStatus
source§impl FromStr for CrawlStatus
impl FromStr for CrawlStatus
source§impl PartialEq for CrawlStatus
impl PartialEq for CrawlStatus
source§fn eq(&self, other: &CrawlStatus) -> bool
fn eq(&self, other: &CrawlStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for CrawlStatus
impl TryFrom<&str> for CrawlStatus
impl Eq for CrawlStatus
impl StructuralPartialEq for CrawlStatus
Auto Trait Implementations§
impl Freeze for CrawlStatus
impl RefUnwindSafe for CrawlStatus
impl Send for CrawlStatus
impl Sync for CrawlStatus
impl Unpin for CrawlStatus
impl UnwindSafe for CrawlStatus
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more