pub trait Decryptor {
// Required method
fn decrypt(&self, ciphertext: &[u8]) -> Result<Vec<u8>>;
}Expand description
Decrypt the given message
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".