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