Trait jarida::Seal[][src]

pub trait Seal: Sized {
    fn into_bytes(self) -> Vec<u8>;

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

A type that can be encrypted

Required methods

fn into_bytes(self) -> Vec<u8>[src]

Loading content...

Provided methods

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

Loading content...

Implementations on Foreign Types

impl Seal for Vec<u8>[src]

impl Seal for String[src]

impl Seal for DateTime<Utc>[src]

Loading content...

Implementors

Loading content...