pub struct CertificateSecurityStateBuilder { /* private fields */ }
Implementations§
Source§impl CertificateSecurityStateBuilder
impl CertificateSecurityStateBuilder
pub fn protocol( self, protocol: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn key_exchange( self, key_exchange: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn key_exchange_group( self, key_exchange_group: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn cipher( self, cipher: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn mac(self, mac: impl Into<String>) -> CertificateSecurityStateBuilder
pub fn certificate( self, certificate: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn certificates<I, S>( self, certificates: I, ) -> CertificateSecurityStateBuilder
pub fn subject_name( self, subject_name: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn issuer( self, issuer: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn valid_from( self, valid_from: impl Into<TimeSinceEpoch>, ) -> CertificateSecurityStateBuilder
pub fn valid_to( self, valid_to: impl Into<TimeSinceEpoch>, ) -> CertificateSecurityStateBuilder
pub fn certificate_network_error( self, certificate_network_error: impl Into<String>, ) -> CertificateSecurityStateBuilder
pub fn certificate_has_weak_signature( self, certificate_has_weak_signature: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn certificate_has_sha1_signature( self, certificate_has_sha1_signature: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn modern_ssl( self, modern_ssl: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn obsolete_ssl_protocol( self, obsolete_ssl_protocol: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn obsolete_ssl_key_exchange( self, obsolete_ssl_key_exchange: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn obsolete_ssl_cipher( self, obsolete_ssl_cipher: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn obsolete_ssl_signature( self, obsolete_ssl_signature: impl Into<bool>, ) -> CertificateSecurityStateBuilder
pub fn build(self) -> Result<CertificateSecurityState, String>
Trait Implementations§
Source§impl Clone for CertificateSecurityStateBuilder
impl Clone for CertificateSecurityStateBuilder
Source§fn clone(&self) -> CertificateSecurityStateBuilder
fn clone(&self) -> CertificateSecurityStateBuilder
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 Default for CertificateSecurityStateBuilder
impl Default for CertificateSecurityStateBuilder
Source§fn default() -> CertificateSecurityStateBuilder
fn default() -> CertificateSecurityStateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CertificateSecurityStateBuilder
impl RefUnwindSafe for CertificateSecurityStateBuilder
impl Send for CertificateSecurityStateBuilder
impl Sync for CertificateSecurityStateBuilder
impl Unpin for CertificateSecurityStateBuilder
impl UnwindSafe for CertificateSecurityStateBuilder
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§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 more