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

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

Required Methods§

source

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

Provided Methods§

source

fn cancel(&mut self, reader: FetchProcess)

Implementors§