Struct TlsPoolIdBuilder
pub struct TlsPoolIdBuilder<'a> { /* private fields */ }tls only.Expand description
Build a backend-independent identity with shared presence and field encoding.
Ordinary settings are borrowed without allocation. Custom component identities are captured in shared storage. Settings are encoded in one canonical order, independent of setter order. Library adapters should exhaustively destructure their configuration before setting fields, so additions require an explicit pooling decision.
Implementations§
§impl<'a> TlsPoolIdBuilder<'a>
impl<'a> TlsPoolIdBuilder<'a>
pub fn maybe_with_alpn(self, value: Option<&'a TlsAlpn>) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_alpn(self, value: Option<&'a TlsAlpn>) -> TlsPoolIdBuilder<'a>
boring only.Ordered application protocol offer.
pub fn maybe_set_alpn(
&mut self,
value: Option<&'a TlsAlpn>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_alpn( &mut self, value: Option<&'a TlsAlpn>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered application protocol offer.
pub fn with_alpn(self, value: &'a TlsAlpn) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_alpn(self, value: &'a TlsAlpn) -> TlsPoolIdBuilder<'a>
boring only.Ordered application protocol offer.
pub fn set_alpn(&mut self, value: &'a TlsAlpn) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_alpn(&mut self, value: &'a TlsAlpn) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered application protocol offer.
pub fn without_alpn(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_alpn(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered application protocol offer.
pub fn unset_alpn(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_alpn(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered application protocol offer.
pub fn maybe_with_versions(
self,
value: Option<&'a TlsSupportedVersions>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_versions( self, value: Option<&'a TlsSupportedVersions>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered supported TLS versions.
pub fn maybe_set_versions(
&mut self,
value: Option<&'a TlsSupportedVersions>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_versions( &mut self, value: Option<&'a TlsSupportedVersions>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered supported TLS versions.
pub fn with_versions(
self,
value: &'a TlsSupportedVersions,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_versions( self, value: &'a TlsSupportedVersions, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered supported TLS versions.
pub fn set_versions(
&mut self,
value: &'a TlsSupportedVersions,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_versions( &mut self, value: &'a TlsSupportedVersions, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered supported TLS versions.
pub fn without_versions(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_versions(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered supported TLS versions.
pub fn unset_versions(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_versions(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered supported TLS versions.
pub fn maybe_with_verify(
self,
value: Option<&'a TlsServerVerify>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_verify( self, value: Option<&'a TlsServerVerify>, ) -> TlsPoolIdBuilder<'a>
boring only.Server certificate verification mode.
pub fn maybe_set_verify(
&mut self,
value: Option<&'a TlsServerVerify>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_verify( &mut self, value: Option<&'a TlsServerVerify>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Server certificate verification mode.
pub fn with_verify(self, value: &'a TlsServerVerify) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_verify(self, value: &'a TlsServerVerify) -> TlsPoolIdBuilder<'a>
boring only.Server certificate verification mode.
pub fn set_verify(
&mut self,
value: &'a TlsServerVerify,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_verify( &mut self, value: &'a TlsServerVerify, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Server certificate verification mode.
pub fn without_verify(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_verify(self) -> TlsPoolIdBuilder<'a>
boring only.Server certificate verification mode.
pub fn unset_verify(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_verify(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Server certificate verification mode.
pub fn maybe_with_keylog(
self,
value: Option<&'a TlsKeyLog>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_keylog( self, value: Option<&'a TlsKeyLog>, ) -> TlsPoolIdBuilder<'a>
boring only.Key logging policy; a custom sink is identified by its shared instance.
pub fn maybe_set_keylog(
&mut self,
value: Option<&'a TlsKeyLog>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_keylog( &mut self, value: Option<&'a TlsKeyLog>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Key logging policy; a custom sink is identified by its shared instance.
pub fn with_keylog(self, value: &'a TlsKeyLog) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_keylog(self, value: &'a TlsKeyLog) -> TlsPoolIdBuilder<'a>
boring only.Key logging policy; a custom sink is identified by its shared instance.
pub fn set_keylog(&mut self, value: &'a TlsKeyLog) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_keylog(&mut self, value: &'a TlsKeyLog) -> &mut TlsPoolIdBuilder<'a>
boring only.Key logging policy; a custom sink is identified by its shared instance.
pub fn without_keylog(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_keylog(self) -> TlsPoolIdBuilder<'a>
boring only.Key logging policy; a custom sink is identified by its shared instance.
pub fn unset_keylog(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_keylog(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Key logging policy; a custom sink is identified by its shared instance.
pub fn maybe_with_server_name(
self,
value: Option<&'a TlsServerName>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_server_name( self, value: Option<&'a TlsServerName>, ) -> TlsPoolIdBuilder<'a>
boring only.Explicit server-name override.
pub fn maybe_set_server_name(
&mut self,
value: Option<&'a TlsServerName>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_server_name( &mut self, value: Option<&'a TlsServerName>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Explicit server-name override.
pub fn with_server_name(self, value: &'a TlsServerName) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_server_name(self, value: &'a TlsServerName) -> TlsPoolIdBuilder<'a>
boring only.Explicit server-name override.
pub fn set_server_name(
&mut self,
value: &'a TlsServerName,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_server_name( &mut self, value: &'a TlsServerName, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Explicit server-name override.
pub fn without_server_name(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_server_name(self) -> TlsPoolIdBuilder<'a>
boring only.Explicit server-name override.
pub fn unset_server_name(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_server_name(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Explicit server-name override.
pub fn maybe_with_store_chain(
self,
value: Option<&'a TlsStoreServerCertChain>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_store_chain( self, value: Option<&'a TlsStoreServerCertChain>, ) -> TlsPoolIdBuilder<'a>
boring only.Whether to retain the peer certificate chain.
pub fn maybe_set_store_chain(
&mut self,
value: Option<&'a TlsStoreServerCertChain>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_store_chain( &mut self, value: Option<&'a TlsStoreServerCertChain>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether to retain the peer certificate chain.
pub fn with_store_chain(
self,
value: &'a TlsStoreServerCertChain,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_store_chain( self, value: &'a TlsStoreServerCertChain, ) -> TlsPoolIdBuilder<'a>
boring only.Whether to retain the peer certificate chain.
pub fn set_store_chain(
&mut self,
value: &'a TlsStoreServerCertChain,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_store_chain( &mut self, value: &'a TlsStoreServerCertChain, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether to retain the peer certificate chain.
pub fn without_store_chain(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_store_chain(self) -> TlsPoolIdBuilder<'a>
boring only.Whether to retain the peer certificate chain.
pub fn unset_store_chain(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_store_chain(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether to retain the peer certificate chain.
pub fn maybe_with_client_auth(
self,
value: Option<&'a TlsClientAuth>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_client_auth( self, value: Option<&'a TlsClientAuth>, ) -> TlsPoolIdBuilder<'a>
boring only.Client credentials, compared by certificate chain and private key contents.
pub fn maybe_set_client_auth(
&mut self,
value: Option<&'a TlsClientAuth>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_client_auth( &mut self, value: Option<&'a TlsClientAuth>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Client credentials, compared by certificate chain and private key contents.
pub fn with_client_auth(self, value: &'a TlsClientAuth) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_client_auth(self, value: &'a TlsClientAuth) -> TlsPoolIdBuilder<'a>
boring only.Client credentials, compared by certificate chain and private key contents.
pub fn set_client_auth(
&mut self,
value: &'a TlsClientAuth,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_client_auth( &mut self, value: &'a TlsClientAuth, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Client credentials, compared by certificate chain and private key contents.
pub fn without_client_auth(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_client_auth(self) -> TlsPoolIdBuilder<'a>
boring only.Client credentials, compared by certificate chain and private key contents.
pub fn unset_client_auth(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_client_auth(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Client credentials, compared by certificate chain and private key contents.
pub fn maybe_with_server_cert_pins(
self,
value: Option<&'a TlsServerCertPins>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_server_cert_pins( self, value: Option<&'a TlsServerCertPins>, ) -> TlsPoolIdBuilder<'a>
boring only.Cached server certificate pin policy.
pub fn maybe_set_server_cert_pins(
&mut self,
value: Option<&'a TlsServerCertPins>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_server_cert_pins( &mut self, value: Option<&'a TlsServerCertPins>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Cached server certificate pin policy.
pub fn with_server_cert_pins(
self,
value: &'a TlsServerCertPins,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_server_cert_pins( self, value: &'a TlsServerCertPins, ) -> TlsPoolIdBuilder<'a>
boring only.Cached server certificate pin policy.
pub fn set_server_cert_pins(
&mut self,
value: &'a TlsServerCertPins,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_server_cert_pins( &mut self, value: &'a TlsServerCertPins, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Cached server certificate pin policy.
pub fn without_server_cert_pins(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_server_cert_pins(self) -> TlsPoolIdBuilder<'a>
boring only.Cached server certificate pin policy.
pub fn unset_server_cert_pins(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_server_cert_pins(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Cached server certificate pin policy.
pub fn maybe_with_server_trust(
self,
value: Option<&'a TlsServerTrust>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_server_trust( self, value: Option<&'a TlsServerTrust>, ) -> TlsPoolIdBuilder<'a>
boring only.Cached server trust policy.
pub fn maybe_set_server_trust(
&mut self,
value: Option<&'a TlsServerTrust>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_server_trust( &mut self, value: Option<&'a TlsServerTrust>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Cached server trust policy.
pub fn with_server_trust(
self,
value: &'a TlsServerTrust,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_server_trust( self, value: &'a TlsServerTrust, ) -> TlsPoolIdBuilder<'a>
boring only.Cached server trust policy.
pub fn set_server_trust(
&mut self,
value: &'a TlsServerTrust,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_server_trust( &mut self, value: &'a TlsServerTrust, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Cached server trust policy.
pub fn without_server_trust(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_server_trust(self) -> TlsPoolIdBuilder<'a>
boring only.Cached server trust policy.
pub fn unset_server_trust(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_server_trust(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Cached server trust policy.
pub fn maybe_with_cipher_suites(
self,
value: Option<&'a [CipherSuite]>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_cipher_suites( self, value: Option<&'a [CipherSuite]>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered cipher suite offer.
pub fn maybe_set_cipher_suites(
&mut self,
value: Option<&'a [CipherSuite]>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_cipher_suites( &mut self, value: Option<&'a [CipherSuite]>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered cipher suite offer.
pub fn with_cipher_suites(
self,
value: &'a [CipherSuite],
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_cipher_suites( self, value: &'a [CipherSuite], ) -> TlsPoolIdBuilder<'a>
boring only.Ordered cipher suite offer.
pub fn set_cipher_suites(
&mut self,
value: &'a [CipherSuite],
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_cipher_suites( &mut self, value: &'a [CipherSuite], ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered cipher suite offer.
pub fn without_cipher_suites(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_cipher_suites(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered cipher suite offer.
pub fn unset_cipher_suites(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_cipher_suites(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered cipher suite offer.
pub fn maybe_with_supported_groups(
self,
value: Option<&'a [SupportedGroup]>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_supported_groups( self, value: Option<&'a [SupportedGroup]>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered supported group offer.
pub fn maybe_set_supported_groups(
&mut self,
value: Option<&'a [SupportedGroup]>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_supported_groups( &mut self, value: Option<&'a [SupportedGroup]>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered supported group offer.
pub fn with_supported_groups(
self,
value: &'a [SupportedGroup],
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_supported_groups( self, value: &'a [SupportedGroup], ) -> TlsPoolIdBuilder<'a>
boring only.Ordered supported group offer.
pub fn set_supported_groups(
&mut self,
value: &'a [SupportedGroup],
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_supported_groups( &mut self, value: &'a [SupportedGroup], ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered supported group offer.
pub fn without_supported_groups(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_supported_groups(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered supported group offer.
pub fn unset_supported_groups(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_supported_groups(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered supported group offer.
pub fn maybe_with_signature_schemes(
self,
value: Option<&'a [SignatureScheme]>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_signature_schemes( self, value: Option<&'a [SignatureScheme]>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered signature scheme offer.
pub fn maybe_set_signature_schemes(
&mut self,
value: Option<&'a [SignatureScheme]>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_signature_schemes( &mut self, value: Option<&'a [SignatureScheme]>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered signature scheme offer.
pub fn with_signature_schemes(
self,
value: &'a [SignatureScheme],
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_signature_schemes( self, value: &'a [SignatureScheme], ) -> TlsPoolIdBuilder<'a>
boring only.Ordered signature scheme offer.
pub fn set_signature_schemes(
&mut self,
value: &'a [SignatureScheme],
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_signature_schemes( &mut self, value: &'a [SignatureScheme], ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered signature scheme offer.
pub fn without_signature_schemes(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_signature_schemes(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered signature scheme offer.
pub fn unset_signature_schemes(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_signature_schemes(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered signature scheme offer.
pub fn maybe_with_grease(self, value: Option<bool>) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_grease(self, value: Option<bool>) -> TlsPoolIdBuilder<'a>
boring only.Whether GREASE values are offered.
pub fn maybe_set_grease(
&mut self,
value: Option<bool>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_grease( &mut self, value: Option<bool>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether GREASE values are offered.
pub fn with_grease(self, value: bool) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_grease(self, value: bool) -> TlsPoolIdBuilder<'a>
boring only.Whether GREASE values are offered.
pub fn set_grease(&mut self, value: bool) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_grease(&mut self, value: bool) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether GREASE values are offered.
pub fn without_grease(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_grease(self) -> TlsPoolIdBuilder<'a>
boring only.Whether GREASE values are offered.
pub fn unset_grease(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_grease(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether GREASE values are offered.
pub fn maybe_with_extension_order(
self,
value: Option<&'a [ExtensionId]>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_extension_order( self, value: Option<&'a [ExtensionId]>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered extension identifiers.
pub fn maybe_set_extension_order(
&mut self,
value: Option<&'a [ExtensionId]>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_extension_order( &mut self, value: Option<&'a [ExtensionId]>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered extension identifiers.
pub fn with_extension_order(
self,
value: &'a [ExtensionId],
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_extension_order( self, value: &'a [ExtensionId], ) -> TlsPoolIdBuilder<'a>
boring only.Ordered extension identifiers.
pub fn set_extension_order(
&mut self,
value: &'a [ExtensionId],
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_extension_order( &mut self, value: &'a [ExtensionId], ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered extension identifiers.
pub fn without_extension_order(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_extension_order(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered extension identifiers.
pub fn unset_extension_order(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_extension_order(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered extension identifiers.
pub fn maybe_with_cert_compression(
self,
value: Option<&'a [CertificateCompressionAlgorithm]>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_cert_compression( self, value: Option<&'a [CertificateCompressionAlgorithm]>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered certificate compression algorithms.
pub fn maybe_set_cert_compression(
&mut self,
value: Option<&'a [CertificateCompressionAlgorithm]>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_cert_compression( &mut self, value: Option<&'a [CertificateCompressionAlgorithm]>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered certificate compression algorithms.
pub fn with_cert_compression(
self,
value: &'a [CertificateCompressionAlgorithm],
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_cert_compression( self, value: &'a [CertificateCompressionAlgorithm], ) -> TlsPoolIdBuilder<'a>
boring only.Ordered certificate compression algorithms.
pub fn set_cert_compression(
&mut self,
value: &'a [CertificateCompressionAlgorithm],
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_cert_compression( &mut self, value: &'a [CertificateCompressionAlgorithm], ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered certificate compression algorithms.
pub fn without_cert_compression(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_cert_compression(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered certificate compression algorithms.
pub fn unset_cert_compression(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_cert_compression(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered certificate compression algorithms.
pub fn maybe_with_delegated_credentials(
self,
value: Option<&'a [SignatureScheme]>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_delegated_credentials( self, value: Option<&'a [SignatureScheme]>, ) -> TlsPoolIdBuilder<'a>
boring only.Ordered delegated credential signature schemes.
pub fn maybe_set_delegated_credentials(
&mut self,
value: Option<&'a [SignatureScheme]>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_delegated_credentials( &mut self, value: Option<&'a [SignatureScheme]>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered delegated credential signature schemes.
pub fn with_delegated_credentials(
self,
value: &'a [SignatureScheme],
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_delegated_credentials( self, value: &'a [SignatureScheme], ) -> TlsPoolIdBuilder<'a>
boring only.Ordered delegated credential signature schemes.
pub fn set_delegated_credentials(
&mut self,
value: &'a [SignatureScheme],
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_delegated_credentials( &mut self, value: &'a [SignatureScheme], ) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered delegated credential signature schemes.
pub fn without_delegated_credentials(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_delegated_credentials(self) -> TlsPoolIdBuilder<'a>
boring only.Ordered delegated credential signature schemes.
pub fn unset_delegated_credentials(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_delegated_credentials(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Ordered delegated credential signature schemes.
pub fn maybe_with_record_size_limit(
self,
value: Option<u16>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_record_size_limit( self, value: Option<u16>, ) -> TlsPoolIdBuilder<'a>
boring only.Advertised record size limit.
pub fn maybe_set_record_size_limit(
&mut self,
value: Option<u16>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_record_size_limit( &mut self, value: Option<u16>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Advertised record size limit.
pub fn with_record_size_limit(self, value: u16) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_record_size_limit(self, value: u16) -> TlsPoolIdBuilder<'a>
boring only.Advertised record size limit.
pub fn set_record_size_limit(&mut self, value: u16) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_record_size_limit(&mut self, value: u16) -> &mut TlsPoolIdBuilder<'a>
boring only.Advertised record size limit.
pub fn without_record_size_limit(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_record_size_limit(self) -> TlsPoolIdBuilder<'a>
boring only.Advertised record size limit.
pub fn unset_record_size_limit(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_record_size_limit(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Advertised record size limit.
pub fn maybe_with_encrypted_client_hello(
self,
value: Option<bool>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_encrypted_client_hello( self, value: Option<bool>, ) -> TlsPoolIdBuilder<'a>
boring only.Whether Encrypted ClientHello is enabled.
pub fn maybe_set_encrypted_client_hello(
&mut self,
value: Option<bool>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_encrypted_client_hello( &mut self, value: Option<bool>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether Encrypted ClientHello is enabled.
pub fn with_encrypted_client_hello(self, value: bool) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_encrypted_client_hello(self, value: bool) -> TlsPoolIdBuilder<'a>
boring only.Whether Encrypted ClientHello is enabled.
pub fn set_encrypted_client_hello(
&mut self,
value: bool,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_encrypted_client_hello( &mut self, value: bool, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether Encrypted ClientHello is enabled.
pub fn without_encrypted_client_hello(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_encrypted_client_hello(self) -> TlsPoolIdBuilder<'a>
boring only.Whether Encrypted ClientHello is enabled.
pub fn unset_encrypted_client_hello(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_encrypted_client_hello(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether Encrypted ClientHello is enabled.
pub fn maybe_with_ocsp_stapling(
self,
value: Option<bool>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_ocsp_stapling( self, value: Option<bool>, ) -> TlsPoolIdBuilder<'a>
boring only.Whether OCSP stapling is requested.
pub fn maybe_set_ocsp_stapling(
&mut self,
value: Option<bool>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_ocsp_stapling( &mut self, value: Option<bool>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether OCSP stapling is requested.
pub fn with_ocsp_stapling(self, value: bool) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_ocsp_stapling(self, value: bool) -> TlsPoolIdBuilder<'a>
boring only.Whether OCSP stapling is requested.
pub fn set_ocsp_stapling(&mut self, value: bool) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_ocsp_stapling(&mut self, value: bool) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether OCSP stapling is requested.
pub fn without_ocsp_stapling(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_ocsp_stapling(self) -> TlsPoolIdBuilder<'a>
boring only.Whether OCSP stapling is requested.
pub fn unset_ocsp_stapling(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_ocsp_stapling(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether OCSP stapling is requested.
pub fn maybe_with_signed_cert_timestamps(
self,
value: Option<bool>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_signed_cert_timestamps( self, value: Option<bool>, ) -> TlsPoolIdBuilder<'a>
boring only.Whether signed certificate timestamps are requested.
pub fn maybe_set_signed_cert_timestamps(
&mut self,
value: Option<bool>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_signed_cert_timestamps( &mut self, value: Option<bool>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether signed certificate timestamps are requested.
pub fn with_signed_cert_timestamps(self, value: bool) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_signed_cert_timestamps(self, value: bool) -> TlsPoolIdBuilder<'a>
boring only.Whether signed certificate timestamps are requested.
pub fn set_signed_cert_timestamps(
&mut self,
value: bool,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_signed_cert_timestamps( &mut self, value: bool, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether signed certificate timestamps are requested.
pub fn without_signed_cert_timestamps(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_signed_cert_timestamps(self) -> TlsPoolIdBuilder<'a>
boring only.Whether signed certificate timestamps are requested.
pub fn unset_signed_cert_timestamps(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_signed_cert_timestamps(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Whether signed certificate timestamps are requested.
pub fn maybe_with_min_version(
self,
value: Option<ProtocolVersion>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_min_version( self, value: Option<ProtocolVersion>, ) -> TlsPoolIdBuilder<'a>
boring only.Minimum permitted TLS version.
pub fn maybe_set_min_version(
&mut self,
value: Option<ProtocolVersion>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_min_version( &mut self, value: Option<ProtocolVersion>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Minimum permitted TLS version.
pub fn with_min_version(self, value: ProtocolVersion) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_min_version(self, value: ProtocolVersion) -> TlsPoolIdBuilder<'a>
boring only.Minimum permitted TLS version.
pub fn set_min_version(
&mut self,
value: ProtocolVersion,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_min_version( &mut self, value: ProtocolVersion, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Minimum permitted TLS version.
pub fn without_min_version(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_min_version(self) -> TlsPoolIdBuilder<'a>
boring only.Minimum permitted TLS version.
pub fn unset_min_version(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_min_version(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Minimum permitted TLS version.
pub fn maybe_with_max_version(
self,
value: Option<ProtocolVersion>,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_with_max_version( self, value: Option<ProtocolVersion>, ) -> TlsPoolIdBuilder<'a>
boring only.Maximum permitted TLS version.
pub fn maybe_set_max_version(
&mut self,
value: Option<ProtocolVersion>,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn maybe_set_max_version( &mut self, value: Option<ProtocolVersion>, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Maximum permitted TLS version.
pub fn with_max_version(self, value: ProtocolVersion) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_max_version(self, value: ProtocolVersion) -> TlsPoolIdBuilder<'a>
boring only.Maximum permitted TLS version.
pub fn set_max_version(
&mut self,
value: ProtocolVersion,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_max_version( &mut self, value: ProtocolVersion, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Maximum permitted TLS version.
pub fn without_max_version(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn without_max_version(self) -> TlsPoolIdBuilder<'a>
boring only.Maximum permitted TLS version.
pub fn unset_max_version(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn unset_max_version(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Maximum permitted TLS version.
pub fn with_alps(
self,
protocols: &'a [ApplicationProtocol],
new_codepoint: bool,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_alps( self, protocols: &'a [ApplicationProtocol], new_codepoint: bool, ) -> TlsPoolIdBuilder<'a>
boring only.Offer Application-Layer Protocol Settings for these ordered protocols.
new_codepoint selects the newer ALPS extension codepoint.
pub fn set_alps(
&mut self,
protocols: &'a [ApplicationProtocol],
new_codepoint: bool,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_alps( &mut self, protocols: &'a [ApplicationProtocol], new_codepoint: bool, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Offer Application-Layer Protocol Settings for these ordered protocols.
new_codepoint selects the newer ALPS extension codepoint.
pub fn with_no_alps(self) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_no_alps(self) -> TlsPoolIdBuilder<'a>
boring only.Remove the Application-Layer Protocol Settings override.
pub fn set_no_alps(&mut self) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_no_alps(&mut self) -> &mut TlsPoolIdBuilder<'a>
boring only.Remove the Application-Layer Protocol Settings override.
pub fn with_opaque_override(self, present: bool) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_opaque_override(self, present: bool) -> TlsPoolIdBuilder<'a>
boring only.Explicitly disable reuse for policy that can change within one instance.
Components with stable identities should use Self::with_component.
pub fn set_opaque_override(
&mut self,
present: bool,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_opaque_override( &mut self, present: bool, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Explicitly disable reuse for policy that can change within one instance.
Components with stable identities should use Self::with_component.
pub fn with_component(
self,
value: &impl TlsPoolComponent,
) -> TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn with_component( self, value: &impl TlsPoolComponent, ) -> TlsPoolIdBuilder<'a>
boring only.Capture a custom component’s owned policy identity.
Components are keyed by type, independently of setter order. Only the
identity is retained; the component needs no general-purpose Hash
implementation. Later policy changes cannot mutate this snapshot.
pub fn set_component(
&mut self,
value: &impl TlsPoolComponent,
) -> &mut TlsPoolIdBuilder<'a>
Available on crate feature boring only.
pub fn set_component( &mut self, value: &impl TlsPoolComponent, ) -> &mut TlsPoolIdBuilder<'a>
boring only.Capture a custom component’s owned policy identity.
Components are keyed by type, independently of setter order. Only the
identity is retained; the component needs no general-purpose Hash
implementation. Later policy changes cannot mutate this snapshot.
Available on crate feature boring only.
boring only.Identify a component by its existing shared allocation.
Cloned Arcs match; separate allocations differ even for equal values.
Retaining the owner prevents address reuse without allocating an identity
snapshot. The final component list still uses shared storage.
Policy must remain fixed for the instance’s lifetime. Use
Self::with_component for semantic or revision-based identities.
Both setters replace the previous identity for the same component type;
an instance identity never equals a semantic identity.
Available on crate feature boring only.
boring only.Identify a component by its existing shared allocation.
Cloned Arcs match; separate allocations differ even for equal values.
Retaining the owner prevents address reuse without allocating an identity
snapshot. The final component list still uses shared storage.
Policy must remain fixed for the instance’s lifetime. Use
Self::with_component for semantic or revision-based identities.
Both setters replace the previous identity for the same component type;
an instance identity never equals a semantic identity.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TlsPoolIdBuilder<'a>
impl<'a> !UnwindSafe for TlsPoolIdBuilder<'a>
impl<'a> Freeze for TlsPoolIdBuilder<'a>
impl<'a> Send for TlsPoolIdBuilder<'a>
impl<'a> Sync for TlsPoolIdBuilder<'a>
impl<'a> Unpin for TlsPoolIdBuilder<'a>
impl<'a> UnsafeUnpin for TlsPoolIdBuilder<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§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> ⓘ
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> ⓘ
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a rama_grpc::Request§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more