pub trait FetchEngine: Send + Sync {
    // Required method
    fn fetch(&mut self, path: &str) -> Result<Box<FetchProcess>, FetchStatus>;

    // Provided method
    fn cancel(&mut self, reader: FetchProcess) { ... }
}

Required Methods§

source

fn fetch(&mut self, path: &str) -> Result<Box<FetchProcess>, FetchStatus>

Provided Methods§

source

fn cancel(&mut self, reader: FetchProcess)

Implementors§