#[non_exhaustive]pub struct TLSConfig {
pub ca_certs: Vec<CACert>,
/* private fields */
}Available on crate feature
tools only.Expand description
The TLS configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ca_certs: Vec<CACert>Required. Specifies a list of allowed custom CA certificates for HTTPS verification.
Implementations§
Trait Implementations§
impl StructuralPartialEq for TLSConfig
Auto Trait Implementations§
impl Freeze for TLSConfig
impl RefUnwindSafe for TLSConfig
impl Send for TLSConfig
impl Sync for TLSConfig
impl Unpin for TLSConfig
impl UnsafeUnpin 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