Skip to main content

RunarDecrypt

Trait RunarDecrypt 

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

Source

type Decrypted: RunarEncrypt<Encrypted = Self>

Required Methods§

Source

fn decrypt_with_keystore( &self, keystore: &Arc<KeyStore>, ) -> Result<Self::Decrypted>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§