Struct mtop_client::TLSConfig
source · pub struct TLSConfig {
pub enabled: bool,
pub ca_path: Option<PathBuf>,
pub cert_path: Option<PathBuf>,
pub key_path: Option<PathBuf>,
pub server_name: Option<ServerName<'static>>,
}
Fields§
§enabled: bool
§ca_path: Option<PathBuf>
§cert_path: Option<PathBuf>
§key_path: Option<PathBuf>
§server_name: Option<ServerName<'static>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TLSConfig
impl RefUnwindSafe for TLSConfig
impl Send for TLSConfig
impl Sync for TLSConfig
impl Unpin for TLSConfig
impl UnwindSafe for TLSConfig
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