Enum teaclave_types::FileCrypto
source · [−]pub enum FileCrypto {
AesGcm128(AesGcm128Key),
AesGcm256(AesGcm256Key),
TeaclaveFile128(TeaclaveFile128Key),
Raw,
}
Variants
AesGcm128(AesGcm128Key)
AesGcm256(AesGcm256Key)
TeaclaveFile128(TeaclaveFile128Key)
Raw
Implementations
Trait Implementations
sourceimpl Clone for FileCrypto
impl Clone for FileCrypto
sourcefn clone(&self) -> FileCrypto
fn clone(&self) -> FileCrypto
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FileCrypto
impl Debug for FileCrypto
sourceimpl Default for FileCrypto
impl Default for FileCrypto
sourceimpl<'de> Deserialize<'de> for FileCrypto
impl<'de> Deserialize<'de> for FileCrypto
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<AesGcm128Key> for FileCrypto
impl From<AesGcm128Key> for FileCrypto
sourcefn from(crypto: AesGcm128Key) -> Self
fn from(crypto: AesGcm128Key) -> Self
Converts to this type from the input type.
sourceimpl From<AesGcm256Key> for FileCrypto
impl From<AesGcm256Key> for FileCrypto
sourcefn from(crypto: AesGcm256Key) -> Self
fn from(crypto: AesGcm256Key) -> Self
Converts to this type from the input type.
sourceimpl From<TeaclaveFile128Key> for FileCrypto
impl From<TeaclaveFile128Key> for FileCrypto
sourcefn from(crypto: TeaclaveFile128Key) -> Self
fn from(crypto: TeaclaveFile128Key) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<FileCrypto> for FileCrypto
impl PartialEq<FileCrypto> for FileCrypto
sourcefn eq(&self, other: &FileCrypto) -> bool
fn eq(&self, other: &FileCrypto) -> bool
sourceimpl Serialize for FileCrypto
impl Serialize for FileCrypto
impl Copy for FileCrypto
impl StructuralPartialEq for FileCrypto
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more