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§

source

type Error

An error that can occur while reading.

Required Methods§

source

fn read_key( &self ) -> impl Future<Output = Result<PrivateKeyDer<'static>, Self::Error>> + Send

Perform the reading.

Object Safety§

This trait is not object safe.

Implementors§