Struct CACertificateLocations
pub struct CACertificateLocations {
pub ca_file: String,
pub ca_path: String,
pub use_ca_file_as_accepted_certificates_list: bool,
}Expand description
CACertificateLocations - CA certificate file and path locations Used to specify where to find CA certificates for SSL validation CA certificate locations for SSL context Mirrors CACertificateLocations from C++ SslContextConfiguratorProxy
Fields§
§ca_file: StringPath to CA certificates file
ca_path: StringPath to CA certificates directory
use_ca_file_as_accepted_certificates_list: boolUse CA file as accepted certificates list (server-side)
Trait Implementations§
§impl Clone for CACertificateLocations
impl Clone for CACertificateLocations
§fn clone(&self) -> CACertificateLocations
fn clone(&self) -> CACertificateLocations
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CACertificateLocations
impl Debug for CACertificateLocations
§impl Default for CACertificateLocations
impl Default for CACertificateLocations
Auto Trait Implementations§
impl Freeze for CACertificateLocations
impl RefUnwindSafe for CACertificateLocations
impl Send for CACertificateLocations
impl Sync for CACertificateLocations
impl Unpin for CACertificateLocations
impl UnwindSafe for CACertificateLocations
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