pub enum Crawler {
RootOnlyCrawler(RootOnlyCrawler),
SegmentSeekerCrawler(SegmentSeekerCrawler),
TokenSeekerCrawler(TokenSeekerCrawler),
}Variants§
RootOnlyCrawler(RootOnlyCrawler)
SegmentSeekerCrawler(SegmentSeekerCrawler)
TokenSeekerCrawler(TokenSeekerCrawler)
Trait Implementations§
source§impl BaseCrawler for Crawler
impl BaseCrawler for Crawler
fn works_on_unparsable(&self) -> bool
fn passes_filter(&self, __enum_dispatch_arg_0: &dyn Segment) -> bool
fn crawl<'a>( &self, __enum_dispatch_arg_0: RuleContext<'a>, ) -> Vec<RuleContext<'a>>
source§impl From<RootOnlyCrawler> for Crawler
impl From<RootOnlyCrawler> for Crawler
source§fn from(v: RootOnlyCrawler) -> Crawler
fn from(v: RootOnlyCrawler) -> Crawler
Converts to this type from the input type.
source§impl From<SegmentSeekerCrawler> for Crawler
impl From<SegmentSeekerCrawler> for Crawler
source§fn from(v: SegmentSeekerCrawler) -> Crawler
fn from(v: SegmentSeekerCrawler) -> Crawler
Converts to this type from the input type.
source§impl From<TokenSeekerCrawler> for Crawler
impl From<TokenSeekerCrawler> for Crawler
source§fn from(v: TokenSeekerCrawler) -> Crawler
fn from(v: TokenSeekerCrawler) -> Crawler
Converts to this type from the input type.
source§impl TryInto<RootOnlyCrawler> for Crawler
impl TryInto<RootOnlyCrawler> for Crawler
source§impl TryInto<SegmentSeekerCrawler> for Crawler
impl TryInto<SegmentSeekerCrawler> for Crawler
Auto Trait Implementations§
impl Freeze for Crawler
impl RefUnwindSafe for Crawler
impl Send for Crawler
impl Sync for Crawler
impl Unpin for Crawler
impl UnwindSafe for Crawler
Blanket Implementations§
source§impl<T> AsAnyMut for Twhere
T: Any,
impl<T> AsAnyMut for Twhere
T: Any,
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
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<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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more