Struct conjure_runtime_config::SecurityConfig [−][src]
Security configuration used to communicate with a service.
Implementations
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]
fn clone(&self) -> SecurityConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SecurityConfig[src]
impl Default for SecurityConfig[src]
fn default() -> SecurityConfig[src]
impl<'de> Deserialize<'de> for SecurityConfig[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl From<SecurityConfig> for SecurityConfigBuilder[src]
fn from(config: SecurityConfig) -> SecurityConfigBuilder[src]
impl PartialEq<SecurityConfig> for SecurityConfig[src]
fn eq(&self, other: &SecurityConfig) -> bool[src]
fn ne(&self, other: &SecurityConfig) -> bool[src]
impl StructuralPartialEq for SecurityConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnwindSafe for SecurityConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,