pub enum CryptoMode {
Ring,
AwsLc,
}
Variants§
Ring
Available on crate feature
crypto-ring
only.AwsLc
Available on crate feature
crypto-aws-lc
only.Trait Implementations§
source§impl Clone for CryptoMode
impl Clone for CryptoMode
source§fn clone(&self) -> CryptoMode
fn clone(&self) -> CryptoMode
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 CryptoMode
impl Debug for CryptoMode
source§impl PartialEq for CryptoMode
impl PartialEq for CryptoMode
source§fn eq(&self, other: &CryptoMode) -> bool
fn eq(&self, other: &CryptoMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CryptoMode
impl Eq for CryptoMode
impl StructuralPartialEq for CryptoMode
Auto Trait Implementations§
impl Freeze for CryptoMode
impl RefUnwindSafe for CryptoMode
impl Send for CryptoMode
impl Sync for CryptoMode
impl Unpin for CryptoMode
impl UnwindSafe for CryptoMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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>
Creates a shared type from an unshared type.