Trait TryFromPlaintext
pub trait TryFromPlaintext: Sized {
// Required methods
fn try_from_plaintext(value: Plaintext) -> Result<Self, TypeParseError>;
fn try_from_optional_plaintext(
value: Option<Plaintext>,
) -> Result<Self, TypeParseError>;
}
Required Methods§
fn try_from_plaintext(value: Plaintext) -> Result<Self, TypeParseError>
fn try_from_optional_plaintext( value: Option<Plaintext>, ) -> Result<Self, TypeParseError>
Object Safety§
This trait is not object safe.