pub struct SecretSalt(pub [u8; 32]);Expand description
A private-store secret salt: 32 bytes of out-of-band key material.
NOT part of the URN identity (see crate::grammar) — it is a separate input to key derivation
so the host, which sees only the retrieval key, cannot distinguish a private store from a public
one. A surfaced salt MUST be exactly 32 bytes / 64 lowercase hex.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for SecretSalt
impl Clone for SecretSalt
Source§fn clone(&self) -> SecretSalt
fn clone(&self) -> SecretSalt
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 SecretSalt
Source§impl Debug for SecretSalt
impl Debug for SecretSalt
impl Eq for SecretSalt
Source§impl PartialEq for SecretSalt
impl PartialEq for SecretSalt
impl StructuralPartialEq for SecretSalt
Auto Trait Implementations§
impl Freeze for SecretSalt
impl RefUnwindSafe for SecretSalt
impl Send for SecretSalt
impl Sync for SecretSalt
impl Unpin for SecretSalt
impl UnsafeUnpin for SecretSalt
impl UnwindSafe for SecretSalt
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