1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//! use databody::DataBody; use lcc::{traits::{Encryptable, EncryptionHandler}, EncryptedBody}; impl Encryptable for DataBody {} pub struct AesEngine {} impl EncryptionHandler<DataBody> for AesEngine { fn encrypt(&mut self, item: DataBody) -> EncryptedBody { unimplemented!() } fn decrypt(&mut self, item: EncryptedBody) -> DataBody { unimplemented!() } }