Skip to main content

HttpFetcher

Trait HttpFetcher 

Source
pub trait HttpFetcher: Send + Sync {
    // Required method
    fn fetch(&self, url: &str) -> Result<String, String>;
}

Required Methods§

Source

fn fetch(&self, url: &str) -> Result<String, String>

Implementors§