#[non_exhaustive]pub enum CryptoProvider {
RustCrypto,
AwsLc,
}Expand description
Compile-time selected document-crypto provider.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CryptoProvider
impl Clone for CryptoProvider
Source§fn clone(&self) -> CryptoProvider
fn clone(&self) -> CryptoProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CryptoProvider
Source§impl Debug for CryptoProvider
impl Debug for CryptoProvider
Source§impl Display for CryptoProvider
impl Display for CryptoProvider
impl Eq for CryptoProvider
Source§impl Hash for CryptoProvider
impl Hash for CryptoProvider
Source§impl PartialEq for CryptoProvider
impl PartialEq for CryptoProvider
impl StructuralPartialEq for CryptoProvider
Auto Trait Implementations§
impl Freeze for CryptoProvider
impl RefUnwindSafe for CryptoProvider
impl Send for CryptoProvider
impl Sync for CryptoProvider
impl Unpin for CryptoProvider
impl UnsafeUnpin for CryptoProvider
impl UnwindSafe for CryptoProvider
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