pub enum EncryptionAlgorithm {
AESGCMV1(AesGcmV1),
AESGCMCTRV1(AesGcmCtrV1),
}
Variants§
AESGCMV1(AesGcmV1)
AESGCMCTRV1(AesGcmCtrV1)
Implementations§
source§impl EncryptionAlgorithm
impl EncryptionAlgorithm
pub fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T ) -> Result<EncryptionAlgorithm>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>( i_prot: &mut T ) -> Result<EncryptionAlgorithm>
pub fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T ) -> Result<usize>
pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>( &self, o_prot: &mut T ) -> Result<usize>
Trait Implementations§
source§impl AsyncReadThrift for EncryptionAlgorithm
impl AsyncReadThrift for EncryptionAlgorithm
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<EncryptionAlgorithm>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
source§impl Clone for EncryptionAlgorithm
impl Clone for EncryptionAlgorithm
source§fn clone(&self) -> EncryptionAlgorithm
fn clone(&self) -> EncryptionAlgorithm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncryptionAlgorithm
impl Debug for EncryptionAlgorithm
source§impl Hash for EncryptionAlgorithm
impl Hash for EncryptionAlgorithm
source§impl Ord for EncryptionAlgorithm
impl Ord for EncryptionAlgorithm
source§fn cmp(&self, other: &EncryptionAlgorithm) -> Ordering
fn cmp(&self, other: &EncryptionAlgorithm) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EncryptionAlgorithm
impl PartialEq for EncryptionAlgorithm
source§fn eq(&self, other: &EncryptionAlgorithm) -> bool
fn eq(&self, other: &EncryptionAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EncryptionAlgorithm
impl PartialOrd for EncryptionAlgorithm
source§fn partial_cmp(&self, other: &EncryptionAlgorithm) -> Option<Ordering>
fn partial_cmp(&self, other: &EncryptionAlgorithm) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ReadThrift for EncryptionAlgorithm
impl ReadThrift for EncryptionAlgorithm
fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T ) -> Result<EncryptionAlgorithm>
impl Eq for EncryptionAlgorithm
impl StructuralPartialEq for EncryptionAlgorithm
Auto Trait Implementations§
impl Freeze for EncryptionAlgorithm
impl RefUnwindSafe for EncryptionAlgorithm
impl Send for EncryptionAlgorithm
impl Sync for EncryptionAlgorithm
impl Unpin for EncryptionAlgorithm
impl UnwindSafe for EncryptionAlgorithm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more