pub struct ConfigBuilder { /* private fields */ }
Expand description
Builder for creating Config instances.
Implementations§
Source§impl ConfigBuilder
impl ConfigBuilder
Sourcepub fn security(self, security: SecurityConfig) -> Self
pub fn security(self, security: SecurityConfig) -> Self
Sets the security configuration.
Sourcepub fn performance(self, performance: PerformanceConfig) -> Self
pub fn performance(self, performance: PerformanceConfig) -> Self
Sets the performance configuration.
Sourcepub fn http(self, http: HttpConfig) -> Self
pub fn http(self, http: HttpConfig) -> Self
Sets the HTTP configuration.
Sourcepub fn cache(self, cache: CacheConfig) -> Self
pub fn cache(self, cache: CacheConfig) -> Self
Sets the cache configuration.
Sourcepub fn retry(self, retry: RetryConfig) -> Self
pub fn retry(self, retry: RetryConfig) -> Self
Sets the retry configuration.
Trait Implementations§
Source§impl Debug for ConfigBuilder
impl Debug for ConfigBuilder
Source§impl Default for ConfigBuilder
impl Default for ConfigBuilder
Source§fn default() -> ConfigBuilder
fn default() -> ConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigBuilder
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more