Skip to main content

KeyProxyInterface

Trait KeyProxyInterface 

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

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§