Trait actix_settings::ApplySettings
source · pub trait ApplySettings {
fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self
where
A: DeserializeOwned;
}
Expand description
Extension trait for applying parsed settings to the server object.
Required Methods
sourcefn apply_settings<A>(self, settings: &BasicSettings<A>) -> Selfwhere
A: DeserializeOwned,
fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Selfwhere
A: DeserializeOwned,
Apply a BasicSettings
value to self
.