pub trait RunarDecrypt {
type Decrypted: RunarEncrypt<Encrypted = Self>;
// Required method
fn decrypt_with_keystore(
&self,
keystore: &Arc<KeyStore>,
) -> Result<Self::Decrypted>;
}Expand description
Trait for decrypting encrypted structs
Required Associated Types§
type Decrypted: RunarEncrypt<Encrypted = Self>
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".