Trait RobotsTxtClient

Source
pub trait RobotsTxtClient {
    type Result;

    // Required method
    fn fetch_robots_txt(&self, origin: Origin) -> Self::Result;
}
Expand description

Trait to fetch and parse the robots.txt file. Must be implemented on http-client.

Required Associated Types§

Required Methods§

Source

fn fetch_robots_txt(&self, origin: Origin) -> Self::Result

Implementations on Foreign Types§

Source§

impl RobotsTxtClient for Client

Source§

impl RobotsTxtClient for Client

Implementors§