Struct conjure_runtime::config::SecurityConfig [−][src]
pub struct SecurityConfig { /* fields omitted */ }Security configuration used to communicate with a service.
Implementations
impl SecurityConfig[src]
impl SecurityConfig[src]pub fn builder() -> SecurityConfigBuilder[src]
Returns a new builder.
pub fn ca_file(&self) -> Option<&Path>[src]
The path to a file containing PEM-formatted root certificates trusted to identify the service.
These certificates are used in addition to the system’s root CA list.
pub fn key_file(&self) -> Option<&Path>[src]
The path to a file containing a PEM-formatted private key used for client certificate authentication.
This key is expected to match the leaf certificate in Self::cert_file.
pub fn cert_file(&self) -> Option<&Path>[src]
The path to a file containing PEM-formatted certificates used for client certificate authentication.
The file should start with the leaf certificate corresponding to the key in Self::key_file, and the contain
the remainder of the certificate chain to a trusted root.
Trait Implementations
impl Clone for SecurityConfig[src]
impl Clone for SecurityConfig[src]pub fn clone(&self) -> SecurityConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SecurityConfig[src]
impl Debug for SecurityConfig[src]impl Default for SecurityConfig[src]
impl Default for SecurityConfig[src]pub fn default() -> SecurityConfig[src]
impl<'de> Deserialize<'de> for SecurityConfig[src]
impl<'de> Deserialize<'de> for SecurityConfig[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SecurityConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<SecurityConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SecurityConfig> for SecurityConfigBuilder[src]
impl From<SecurityConfig> for SecurityConfigBuilder[src]pub fn from(config: SecurityConfig) -> SecurityConfigBuilder[src]
impl PartialEq<SecurityConfig> for SecurityConfig[src]
impl PartialEq<SecurityConfig> for SecurityConfig[src]pub fn eq(&self, other: &SecurityConfig) -> bool[src]
pub fn ne(&self, other: &SecurityConfig) -> bool[src]
impl StructuralPartialEq for SecurityConfig[src]
impl StructuralPartialEq for SecurityConfig[src]Auto Trait Implementations
impl RefUnwindSafe for SecurityConfig
impl RefUnwindSafe for SecurityConfigimpl Send for SecurityConfig
impl Send for SecurityConfigimpl Sync for SecurityConfig
impl Sync for SecurityConfigimpl Unpin for SecurityConfig
impl Unpin for SecurityConfigimpl UnwindSafe for SecurityConfig
impl UnwindSafe for SecurityConfigBlanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,