Trait jarida::Open[][src]

pub trait Open: Sized {
    fn from_bytes(bytes: Vec<u8>) -> Result<Self, UnspecifiedError>;

    fn open(
        uuid: Uuid,
        ciphertext: Vec<u8>,
        guard: &mut DataGuard
    ) -> Result<Self, UnspecifiedError> { ... } }

A type that can be decrypted

Required methods

Loading content...

Provided methods

fn open(
    uuid: Uuid,
    ciphertext: Vec<u8>,
    guard: &mut DataGuard
) -> Result<Self, UnspecifiedError>
[src]

Loading content...

Implementations on Foreign Types

impl Open for Vec<u8>[src]

impl Open for String[src]

impl Open for DateTime<Utc>[src]

Loading content...

Implementors

Loading content...