Skip to main content

IntoStartRequests

Trait IntoStartRequests 

Source
pub trait IntoStartRequests {
    // Required method
    fn into_start_requests(self) -> Result<Vec<Request>, CrawlError>;
}
Expand description

A collection of start requests accepted by super::Crawler::run.

Required Methods§

Source

fn into_start_requests(self) -> Result<Vec<Request>, CrawlError>

Converts this value into an owned list of requests.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoStartRequests for &str

Source§

impl IntoStartRequests for String

Source§

impl IntoStartRequests for Url

Source§

impl<T: IntoStartRequest + Clone> IntoStartRequests for &[T]

Source§

impl<T: IntoStartRequest, const N: usize> IntoStartRequests for [T; N]

Source§

impl<T: IntoStartRequest> IntoStartRequests for Vec<T>

Implementors§