#[repr(transparent)]pub struct WrappedKeyBytes(pub [u8; 48]);
Expand description
A fixed length array of 48 bytes that holds an AES-256-GCM-SIV wrapped key.
Tuple Fields§
§0: [u8; 48]
Trait Implementations§
Source§impl Clone for WrappedKeyBytes
impl Clone for WrappedKeyBytes
Source§fn clone(&self) -> WrappedKeyBytes
fn clone(&self) -> WrappedKeyBytes
Returns a duplicate 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 WrappedKeyBytes
impl Debug for WrappedKeyBytes
Source§impl Default for WrappedKeyBytes
impl Default for WrappedKeyBytes
Source§impl Deref for WrappedKeyBytes
impl Deref for WrappedKeyBytes
Source§impl DerefMut for WrappedKeyBytes
impl DerefMut for WrappedKeyBytes
Source§impl<'de> Deserialize<'de> for WrappedKeyBytes
impl<'de> Deserialize<'de> for WrappedKeyBytes
Source§fn deserialize<D>(deserializer: D) -> Result<WrappedKeyBytes, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<WrappedKeyBytes, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WrappedKeyBytes
impl PartialEq for WrappedKeyBytes
Source§impl Serialize for WrappedKeyBytes
impl Serialize for WrappedKeyBytes
Source§impl TypeFingerprint for WrappedKeyBytes
impl TypeFingerprint for WrappedKeyBytes
fn fingerprint() -> String
impl StructuralPartialEq for WrappedKeyBytes
Auto Trait Implementations§
impl Freeze for WrappedKeyBytes
impl RefUnwindSafe for WrappedKeyBytes
impl Send for WrappedKeyBytes
impl Sync for WrappedKeyBytes
impl Unpin for WrappedKeyBytes
impl UnwindSafe for WrappedKeyBytes
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