pub trait Registry {
    // Required methods
    fn get_base_url(&self) -> Url;
    fn get_update_path<C: Config>(&self, config: &C) -> String;
}
Expand description

This trait is responsible to gives the base url for and the final path of the update json package description

Required Methods§

source

fn get_base_url(&self) -> Url

base url of the repository. This is also used together with the RemoteVersion::path to create the final download url.

source

fn get_update_path<C: Config>(&self, config: &C) -> String

This is the relative update json path, according to the configuration path.

Object Safety§

This trait is not object safe.

Implementors§