Struct for_mqtt_client::tls::TlsConfig
source · pub struct TlsConfig { /* private fields */ }Implementations§
source§impl TlsConfig
impl TlsConfig
pub fn set_server_ca_pem_file(self, ca_file: PathBuf) -> Self
pub fn set_verify_dns_name(self, verify: bool) -> Self
pub fn insecurity(self) -> Self
Trait Implementations§
Auto Trait Implementations§
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