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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.