pub struct CryptoKey { /* private fields */ }Trait Implementations§
Source§impl Envelope for CryptoKey
impl Envelope for CryptoKey
type EncryptError = KmsError
type DecryptError = KmsError
fn encrypt_dek<A, P>( &self, aad: Aad<A>, plaintext: P, ) -> Result<Vec<u8>, Self::EncryptError>
fn decrypt_dek<A, C>( &self, aad: Aad<A>, ciphertext: C, ) -> Result<Vec<u8>, Self::DecryptError>
Auto Trait Implementations§
impl Freeze for CryptoKey
impl !RefUnwindSafe for CryptoKey
impl Send for CryptoKey
impl Sync for CryptoKey
impl Unpin for CryptoKey
impl !UnwindSafe for CryptoKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request