[−][src]Trait limiting_factor::config::Config
This trait allows to provide a configuration for the resources needed by the API.
Required Methods
fn get_database_url(&self) -> &str
fn get_entry_point(&self) -> &str
fn get_database_pool_size(&self) -> u32
fn with_database(&self) -> bool
fn into_service(self, routes: Vec<Route>) -> Box<dyn Service>
Implementors
impl Config for MinimalConfig
[src]
impl Config for MinimalConfig
fn get_database_url(&self) -> &str
[src]
fn get_database_url(&self) -> &str
fn get_entry_point(&self) -> &str
[src]
fn get_entry_point(&self) -> &str
fn get_database_pool_size(&self) -> u32
[src]
fn get_database_pool_size(&self) -> u32
fn with_database(&self) -> bool
[src]
fn with_database(&self) -> bool
fn into_service(self, routes: Vec<Route>) -> Box<dyn Service>
[src]
fn into_service(self, routes: Vec<Route>) -> Box<dyn Service>