pub struct DomainKey(/* private fields */);Expand description
A Philox key derived from a (root_seed, domain) pair.
Opaque on purpose: the only way to obtain one is derive_key, so no call site can
invent a key that skips domain separation.
Implementations§
Trait Implementations§
impl Copy for DomainKey
impl Eq for DomainKey
impl StructuralPartialEq for DomainKey
Auto Trait Implementations§
impl Freeze for DomainKey
impl RefUnwindSafe for DomainKey
impl Send for DomainKey
impl Sync for DomainKey
impl Unpin for DomainKey
impl UnsafeUnpin for DomainKey
impl UnwindSafe for DomainKey
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