Struct hyper_boring::HttpsLayerSettingsBuilder
source · pub struct HttpsLayerSettingsBuilder(/* private fields */);
Expand description
Builder for HttpsLayerSettings
Implementations§
source§impl HttpsLayerSettingsBuilder
impl HttpsLayerSettingsBuilder
sourcepub fn set_session_cache_capacity(&mut self, capacity: usize)
pub fn set_session_cache_capacity(&mut self, capacity: usize)
Sets maximum number of sessions to cache. Session capacity is per session key (domain). Defaults to 8.
sourcepub fn build(self) -> HttpsLayerSettings
pub fn build(self) -> HttpsLayerSettings
Consumes the builder, returning a new HttpsLayerSettings
Auto Trait Implementations§
impl Freeze for HttpsLayerSettingsBuilder
impl RefUnwindSafe for HttpsLayerSettingsBuilder
impl Send for HttpsLayerSettingsBuilder
impl Sync for HttpsLayerSettingsBuilder
impl Unpin for HttpsLayerSettingsBuilder
impl UnwindSafe for HttpsLayerSettingsBuilder
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