[]Enum teaclave_client_sdk::FileCrypto

pub enum FileCrypto {




impl FileCrypto

pub fn new(schema: &str, key: &[u8], iv: &[u8]) -> Result<FileCrypto, Error>

pub fn schema(&self) -> &str

pub fn key_iv(&self) -> (Vec<u8>, Vec<u8>)

Trait Implementations

impl Clone for FileCrypto

impl Copy for FileCrypto

impl Debug for FileCrypto

impl Default for FileCrypto

impl<'de> Deserialize<'de> for FileCrypto

impl From<AesGcm128Key> for FileCrypto

impl From<AesGcm256Key> for FileCrypto

impl From<TeaclaveFile128Key> for FileCrypto

impl PartialEq<FileCrypto> for FileCrypto

impl Serialize for FileCrypto

impl StructuralPartialEq for FileCrypto

impl TryFrom<FileCryptoInfo> for FileCrypto

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for FileCrypto

impl Send for FileCrypto

impl Sync for FileCrypto

impl Unpin for FileCrypto

impl UnwindSafe for FileCrypto

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoRequest<T> for T

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,