omaha_client::app_set

Trait AppSet

Source
pub trait AppSet {
    // Required methods
    fn get_apps(&self) -> Vec<App>;
    fn iter_mut_apps(&mut self) -> Box<dyn Iterator<Item = &mut App> + '_>;
    fn get_system_app_id(&self) -> &str;
}
Expand description

The trait for the platform-specific AppSet to implement.

Required Methods§

Source

fn get_apps(&self) -> Vec<App>

Source

fn iter_mut_apps(&mut self) -> Box<dyn Iterator<Item = &mut App> + '_>

Source

fn get_system_app_id(&self) -> &str

Implementors§