Trait BaseCrawler

Source
pub trait BaseCrawler {
    // Required method
    fn crawl<'a>(
        &self,
        context: &mut RuleContext<'a>,
        f: &mut impl FnMut(&RuleContext<'a>),
    );

    // Provided methods
    fn works_on_unparsable(&self) -> bool { ... }
    fn passes_filter(&self, segment: &ErasedSegment) -> bool { ... }
}

Required Methods§

Source

fn crawl<'a>( &self, context: &mut RuleContext<'a>, f: &mut impl FnMut(&RuleContext<'a>), )

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§