Skip to main content

Resolver

Trait Resolver 

Source
pub trait Resolver: Send + Sync {
    // Required methods
    fn fetch_version<'a>(
        &'a self,
        base: &'a str,
    ) -> BoxFuture<'a, Result<String>>;
    fn list_installed(&self) -> Vec<Installed>;
}
Expand description

I/O surface for resolve_with. Implementations provide HTTP discovery (/json/version) and the list of installed browsers.

Required Methods§

Source

fn fetch_version<'a>(&'a self, base: &'a str) -> BoxFuture<'a, Result<String>>

Source

fn list_installed(&self) -> Vec<Installed>

Implementors§