Trait cyphres::EncryptedPayload
source · pub trait EncryptedPayload: Payload {
type Key;
type InnerPayload: Payload;
// Required method
fn decrypt(self, key: &Self::Key) -> Self::InnerPayload;
}Required Associated Types§
type Key
type InnerPayload: Payload
Required Methods§
fn decrypt(self, key: &Self::Key) -> Self::InnerPayload
Object Safety§
This trait is not object safe.