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 Clone for Plaintext

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Plaintext

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 !=.

Auto Trait Implementations

impl Send for Plaintext

impl Sync for Plaintext