pub struct CaConfig {
pub cert_path: Option<PathBuf>,
pub key_path: Option<PathBuf>,
}Expand description
Certificate authority configuration for TLS interception.
Fields§
§cert_path: Option<PathBuf>Path to an existing CA certificate PEM file.
If None, a CA is auto-generated and persisted.
key_path: Option<PathBuf>Path to an existing CA private key PEM file.
If None, a key is auto-generated and persisted.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CaConfig
impl<'de> Deserialize<'de> for CaConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CaConfig
impl RefUnwindSafe for CaConfig
impl Send for CaConfig
impl Sync for CaConfig
impl Unpin for CaConfig
impl UnsafeUnpin for CaConfig
impl UnwindSafe for CaConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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