pub trait KeyProxyInterface: Send + Sync {
type GetKeyOriginResponseFut: Future<Output = Result<KeyGetKeyOriginResult, Error>> + Send;
type GetKeyProviderResponseFut: Future<Output = Result<KeyGetKeyProviderResult, Error>> + Send;
// Required methods
fn get_key_origin(&self) -> Self::GetKeyOriginResponseFut;
fn get_key_provider(&self) -> Self::GetKeyProviderResponseFut;
}Required Associated Types§
type GetKeyOriginResponseFut: Future<Output = Result<KeyGetKeyOriginResult, Error>> + Send
type GetKeyProviderResponseFut: Future<Output = Result<KeyGetKeyProviderResult, Error>> + Send
Required Methods§
fn get_key_origin(&self) -> Self::GetKeyOriginResponseFut
fn get_key_provider(&self) -> Self::GetKeyProviderResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".