pub fn load_cert_chain_from_pem_file(&mut self, file: &str) -> Result<()> {
        self.tls_ctx
            .lock()
            .unwrap()
            .use_certificate_chain_file(file)
    }
/// Configures the given certificate chain.
///
/// The content of `file` is parsed as a PEM-encoded leaf certificate,
/// followed by optional intermediate certificates.
///
/// ## Examples:
///
/// ```no_run
/// # let mut config = quiche::Config::new(0xbabababa)?;
/// config.load_cert_chain_from_pem_file("/path/to/cert.pem")?;
/// # Ok::<(), quiche::Error>(())
/// ```
Configures the given certificate chain.
The content of `file` is parsed as a PEM-encoded leaf certificate,
followed by optional intermediate certificates.
Configures the given certificate chain . The content of ` file ` is parsed as a PEM - encoded leaf certificate followed by optional intermediate certificates .
pub fn load_cert_chain_from_pem_file(&mut self, file: &str) -> Result<()> {
        self.tls_ctx
            .lock()
            .unwrap()
            .use_certificate_chain_file(file)
    }
pub fn load_cert_chain_from_pem_file ( & mut self , file : & str ) -> Result < ( ) > { self . tls_ctx . lock ( ) . unwrap ( ) . use_certificate_chain_file ( file ) }
Configures the given certificate chain.
Configures the given certificate chain .
&mut self
file
&str
&mut self
file
&str
examples:
None
let mut config = quiche::config::new(0xbabababa)?;
None
ok::<(), quiche::error>(())
None