pub trait ReadKey {
type Error;
// Required method
fn read_key(
&self,
) -> impl Future<Output = Result<PrivateKeyDer<'static>, Self::Error>> + Send;
}Expand description
Read a single private key.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".