Trait rustls_cert_read::ReadKey
source · pub trait ReadKey {
type Error;
// Required method
fn read_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<PrivateKey, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Read a single private key.