#[repr(C)]pub enum CredentialKey {
Symmetric([u8; 16]),
EC2Compact([u8; 32]),
}Variants§
Trait Implementations§
Source§impl Clone for CredentialKey
impl Clone for CredentialKey
Source§fn clone(&self) -> CredentialKey
fn clone(&self) -> CredentialKey
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 CredentialKey
Source§impl Debug for CredentialKey
impl Debug for CredentialKey
Source§impl PartialEq for CredentialKey
impl PartialEq for CredentialKey
Source§fn eq(&self, other: &CredentialKey) -> bool
fn eq(&self, other: &CredentialKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CredentialKey
Auto Trait Implementations§
impl Freeze for CredentialKey
impl RefUnwindSafe for CredentialKey
impl Send for CredentialKey
impl Sync for CredentialKey
impl Unpin for CredentialKey
impl UnsafeUnpin for CredentialKey
impl UnwindSafe for CredentialKey
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