pub trait EncryptionCodec: Sealed {
const FORMAT: Encryption;
}Expand description
Sealed encryption implementation used for static dispatch.
Applications normally pass Identity or, with feature aes-gcm, Aes256Gcm.
Required Associated Constants§
Sourceconst FORMAT: Encryption
const FORMAT: Encryption
Metadata format implemented by this codec.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl EncryptionCodec for Aes256Gcm
Available on crate feature aes-gcm only.
impl EncryptionCodec for Aes256Gcm
Available on crate feature
aes-gcm only.