#[non_exhaustive]pub struct SslPolicyBuilder { /* private fields */ }
Expand description
A builder for SslPolicy
.
Implementations§
source§impl SslPolicyBuilder
impl SslPolicyBuilder
sourcepub fn ssl_protocols(self, input: impl Into<String>) -> Self
pub fn ssl_protocols(self, input: impl Into<String>) -> Self
Appends an item to ssl_protocols
.
To override the contents of this collection use set_ssl_protocols
.
The protocols.
sourcepub fn set_ssl_protocols(self, input: Option<Vec<String>>) -> Self
pub fn set_ssl_protocols(self, input: Option<Vec<String>>) -> Self
The protocols.
sourcepub fn get_ssl_protocols(&self) -> &Option<Vec<String>>
pub fn get_ssl_protocols(&self) -> &Option<Vec<String>>
The protocols.
sourcepub fn ciphers(self, input: Cipher) -> Self
pub fn ciphers(self, input: Cipher) -> Self
Appends an item to ciphers
.
To override the contents of this collection use set_ciphers
.
The ciphers.
sourcepub fn set_ciphers(self, input: Option<Vec<Cipher>>) -> Self
pub fn set_ciphers(self, input: Option<Vec<Cipher>>) -> Self
The ciphers.
sourcepub fn get_ciphers(&self) -> &Option<Vec<Cipher>>
pub fn get_ciphers(&self) -> &Option<Vec<Cipher>>
The ciphers.
sourcepub fn supported_load_balancer_types(self, input: impl Into<String>) -> Self
pub fn supported_load_balancer_types(self, input: impl Into<String>) -> Self
Appends an item to supported_load_balancer_types
.
To override the contents of this collection use set_supported_load_balancer_types
.
The supported load balancers.
sourcepub fn set_supported_load_balancer_types(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_supported_load_balancer_types( self, input: Option<Vec<String>>, ) -> Self
The supported load balancers.
sourcepub fn get_supported_load_balancer_types(&self) -> &Option<Vec<String>>
pub fn get_supported_load_balancer_types(&self) -> &Option<Vec<String>>
The supported load balancers.
Trait Implementations§
source§impl Clone for SslPolicyBuilder
impl Clone for SslPolicyBuilder
source§fn clone(&self) -> SslPolicyBuilder
fn clone(&self) -> SslPolicyBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SslPolicyBuilder
impl Debug for SslPolicyBuilder
source§impl Default for SslPolicyBuilder
impl Default for SslPolicyBuilder
source§fn default() -> SslPolicyBuilder
fn default() -> SslPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SslPolicyBuilder
impl PartialEq for SslPolicyBuilder
impl StructuralPartialEq for SslPolicyBuilder
Auto Trait Implementations§
impl Freeze for SslPolicyBuilder
impl RefUnwindSafe for SslPolicyBuilder
impl Send for SslPolicyBuilder
impl Sync for SslPolicyBuilder
impl Unpin for SslPolicyBuilder
impl UnwindSafe for SslPolicyBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.