Struct recrypt::api::Plaintext[]

pub struct Plaintext { /* fields omitted */ }

Not hashed, not encrypted Fp12Elem See DecryptedSymmetricKey and EncryptedMessage

Methods

impl Plaintext

Construct a Plaintext from raw bytes

construct $t from byte slice. Input slice must be exactly the correct length for the type.

Returns

Ok($t) or Err($ApiError::InputWrongSize]

Trait Implementations

impl Debug for Plaintext

Formats the value using the given formatter. Read more

impl PartialEq for Plaintext

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Plaintext

Returns the "default value" for a type. Read more

impl Drop for Plaintext

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Plaintext

impl Sync for Plaintext