pub trait Encryptable:
Debug
+ Sized
+ Identifiable {
// Required methods
fn protected_attributes() -> Cow<'static, [Cow<'static, str>]>;
fn plaintext_attributes() -> Cow<'static, [Cow<'static, str>]>;
fn into_unsealed(self) -> Unsealed;
}
Required Methods§
sourcefn protected_attributes() -> Cow<'static, [Cow<'static, str>]>
fn protected_attributes() -> Cow<'static, [Cow<'static, str>]>
Defines what attributes are protected and should be encrypted for this type.
Must be equal to or a superset of protected_attributes on the Decryptable
type.
sourcefn plaintext_attributes() -> Cow<'static, [Cow<'static, str>]>
fn plaintext_attributes() -> Cow<'static, [Cow<'static, str>]>
Defines what attributes are plaintext for this type.
Must be equal to or a superset of plaintext_attributes on the Decryptable
type.
fn into_unsealed(self) -> Unsealed
Object Safety§
This trait is not object safe.