pub struct CaptureTlsConfig {
pub ca_path: String,
pub client_cert_path: Option<String>,
pub client_key_path: Option<String>,
}Expand description
TLS settings for the capture broker connection: PEM file paths (the binary
reads them). Presence of ca_path pins that CA; a client cert/key pair adds
mTLS.
Fields§
§ca_path: StringPath to the CA PEM the broker certificate must chain to (pinned trust).
client_cert_path: Option<String>Path to the client certificate chain PEM for mTLS, or None.
client_key_path: Option<String>Path to the client private key PEM for mTLS, or None.
Trait Implementations§
Source§impl Clone for CaptureTlsConfig
impl Clone for CaptureTlsConfig
Source§fn clone(&self) -> CaptureTlsConfig
fn clone(&self) -> CaptureTlsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaptureTlsConfig
impl Debug for CaptureTlsConfig
impl Eq for CaptureTlsConfig
Source§impl PartialEq for CaptureTlsConfig
impl PartialEq for CaptureTlsConfig
Source§fn eq(&self, other: &CaptureTlsConfig) -> bool
fn eq(&self, other: &CaptureTlsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CaptureTlsConfig
Auto Trait Implementations§
impl Freeze for CaptureTlsConfig
impl RefUnwindSafe for CaptureTlsConfig
impl Send for CaptureTlsConfig
impl Sync for CaptureTlsConfig
impl Unpin for CaptureTlsConfig
impl UnsafeUnpin for CaptureTlsConfig
impl UnwindSafe for CaptureTlsConfig
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