Trait LocationServiceInterface

Source
pub trait LocationServiceInterface: Send + Sync {
    // Required methods
    fn get_location_names(&self) -> Arc<HashMap<i32, String>>;
    fn get_location_data(&self, location_id: i32) -> Option<Arc<LocationData>>;
}

Required Methods§

Implementors§