Trait 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§

Source

type Error

An error that can occur while reading.

Required Methods§

Source

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.

Implementors§