pub fn add_certificate_authority(
        &mut self,
        cert: Certificate,
    ) -> Result<&mut Self, webpki::Error> {
        self.client_config.add_certificate_authority(cert)?;
        Ok(self)
    }
/// Add a trusted certificate authotity
///
/// Quinn uses the system's certificate authorities by default. Use this method to add
/// a custom one.
Add a trusted certificate authotity
Quinn uses the system's certificate authorities by default. Use this method to add
a custom one.
Add a trusted certificate authotity Quinn uses the system ' s certificate authorities by default . Use this method to add a custom one .
pub fn add_certificate_authority(
        &mut self,
        cert: Certificate,
    ) -> Result<&mut Self, webpki::Error> {
        self.client_config.add_certificate_authority(cert)?;
        Ok(self)
    }
pub fn add_certificate_authority ( & mut self , cert : Certificate , ) -> Result < & mut Self , webpki :: Error > { self . client_config . add_certificate_authority ( cert ) ? ; Ok ( self ) }
Add a trusted certificate authotity
Quinn uses the system's certificate authorities by default.
Add a trusted certificate authotity Quinn uses the system ' s certificate authorities by default .
&mut self
cert
Certificate