Trait rustls_cert_file_reader::ReadCerts
source · pub trait ReadCerts {
type Error;
// Required method
fn read_certs<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<CertificateDer<'static>>, Self::Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Read a list of certificates.
Inteaded for reading a single full certificate chain.
Required Associated Types§
Required Methods§
sourcefn read_certs<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<CertificateDer<'static>>, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn read_certs<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<CertificateDer<'static>>, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Perform the reading.