Struct voyager::CrawlerConfig [−][src]
pub struct CrawlerConfig { /* fields omitted */ }
Expand description
Configure a Collector
and its Crawler
Implementations
pub fn disallow_domains<I, T>(self, domains: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<String>,
pub fn allow_domains<I, T>(self, domains: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<String>,
pub fn allow_domains_with_delay<I, T>(self, domains: I) -> Self where
I: IntoIterator<Item = (T, RequestDelay)>,
T: Into<String>,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CrawlerConfig
impl Send for CrawlerConfig
impl Sync for CrawlerConfig
impl Unpin for CrawlerConfig
impl !UnwindSafe for CrawlerConfig