pub struct EncryptedRecord { /* private fields */ }Expand description
DHT record encrypted with HPKE.
Contains encrypted record data and encrypted decryption key. Decryption requires the corresponding private key.
Implementations§
Trait Implementations§
Source§impl Clone for EncryptedRecord
impl Clone for EncryptedRecord
Source§fn clone(&self) -> EncryptedRecord
fn clone(&self) -> EncryptedRecord
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 moreAuto Trait Implementations§
impl Freeze for EncryptedRecord
impl RefUnwindSafe for EncryptedRecord
impl Send for EncryptedRecord
impl Sync for EncryptedRecord
impl Unpin for EncryptedRecord
impl UnwindSafe for EncryptedRecord
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