pub struct SecureTlsConfig;Expand description
Secure TLS configuration using system CA certificates.
This is the default and recommended configuration for production use. It enables TLS encryption using the operating system’s trusted CA certificates.
§Examples
use databricks_zerobus_ingest_sdk::SecureTlsConfig;
let tls = SecureTlsConfig::new();Implementations§
Trait Implementations§
Source§impl Clone for SecureTlsConfig
impl Clone for SecureTlsConfig
Source§fn clone(&self) -> SecureTlsConfig
fn clone(&self) -> SecureTlsConfig
Returns a duplicate 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 SecureTlsConfig
impl Debug for SecureTlsConfig
Source§impl Default for SecureTlsConfig
impl Default for SecureTlsConfig
Source§fn default() -> SecureTlsConfig
fn default() -> SecureTlsConfig
Returns the “default value” for a type. Read more
Source§impl TlsConfig for SecureTlsConfig
impl TlsConfig for SecureTlsConfig
Source§fn configure_endpoint(&self, endpoint: Endpoint) -> ZerobusResult<Endpoint>
fn configure_endpoint(&self, endpoint: Endpoint) -> ZerobusResult<Endpoint>
Configure a gRPC endpoint with TLS settings. Read more
Auto Trait Implementations§
impl Freeze for SecureTlsConfig
impl RefUnwindSafe for SecureTlsConfig
impl Send for SecureTlsConfig
impl Sync for SecureTlsConfig
impl Unpin for SecureTlsConfig
impl UnsafeUnpin for SecureTlsConfig
impl UnwindSafe for SecureTlsConfig
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request