Trait actix_settings::ApplySettings
source · pub trait ApplySettings {
// Required method
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
.
Object Safety§
This trait is not object safe.