Trait ServiceProviderInterface

Source
pub trait ServiceProviderInterface: Send + Sync {
Show 16 methods // Required methods fn config(&self) -> Arc<dyn ConfigInterface>; fn database(&self) -> Arc<RwLock<dyn DatabaseInterface>>; fn fishing_history_entry_repository( &self, ) -> Arc<dyn FishingHistoryEntryRepositoryInterface>; fn item_repository(&self) -> Arc<dyn ItemRepositoryInterface>; fn pond_repository(&self) -> Arc<dyn PondRepositoryInterface>; fn specimen_repository(&self) -> Arc<dyn SpecimenRepositoryInterface>; fn user_repository(&self) -> Arc<dyn UserRepositoryInterface>; fn encounter_service(&self) -> Arc<dyn EncounterServiceInterface>; fn fishing_history_service(&self) -> Arc<dyn FishingHistoryServiceInterface>; fn item_service(&self) -> Arc<dyn ItemServiceInterface>; fn location_service(&self) -> Arc<dyn LocationServiceInterface>; fn pond_service(&self) -> Arc<dyn PondServiceInterface>; fn species_service(&self) -> Arc<dyn SpeciesServiceInterface>; fn specimen_service(&self) -> Arc<dyn SpecimenServiceInterface>; fn user_service(&self) -> Arc<dyn UserServiceInterface>; fn weather_service(&self) -> Arc<dyn WeatherServiceInterface>;
}

Required Methods§

Implementors§