Struct Open Telemetry TlsConfig
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct OpenTelemetryTlsConfig {
pub certificate: Option<String>,
pub client_certificate: Option<String>,
pub private_key: Option<String>,
}
Optional certificate and private key file paths for one OTLP endpoint.
Use absolute paths or paths relative to the process working directory. Relay reads the PEM files when it creates the exporter. Recreate the exporter to load new certificates or keys.
Fields
certificate: Option<String>
Path to a PEM CA bundle. Replaces the system’s trusted CAs.
client_certificate: Option<String>
Path to a PEM client certificate chain. Also set private_key.
private_key: Option<String>
Path to a PEM private key. Also set client_certificate.
Trait Implementations
impl Clone for OpenTelemetryTlsConfig
impl Clone for OpenTelemetryTlsConfig
clone
fn clone(&self) -> OpenTelemetryTlsConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for OpenTelemetryTlsConfig
impl Debug for OpenTelemetryTlsConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for OpenTelemetryTlsConfig
impl Default for OpenTelemetryTlsConfig
default
fn default() -> OpenTelemetryTlsConfig
impl<'de> Deserialize<'de> for OpenTelemetryTlsConfig
impl<'de> Deserialize<'de> for OpenTelemetryTlsConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl EditorConfig for OpenTelemetryTlsConfig
impl EditorConfig for OpenTelemetryTlsConfig
editor_schema
fn editor_schema() -> &'static EditorSchema
impl PartialEq for OpenTelemetryTlsConfig
impl PartialEq for OpenTelemetryTlsConfig
eq
fn eq(&self, other: &OpenTelemetryTlsConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for OpenTelemetryTlsConfig
impl Serialize for OpenTelemetryTlsConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Eq for OpenTelemetryTlsConfig
impl Eq for OpenTelemetryTlsConfig
impl StructuralPartialEq for OpenTelemetryTlsConfig
impl StructuralPartialEq for OpenTelemetryTlsConfig