pub struct EncryptionData {
pub key: KeyId,
pub nonce: Option<ByteArray<CHACHA8_STREAM_NONCE_LEN>>,
}Fields§
§key: KeyId§nonce: Option<ByteArray<CHACHA8_STREAM_NONCE_LEN>>Trait Implementations§
Source§impl Clone for EncryptionData
impl Clone for EncryptionData
Source§fn clone(&self) -> EncryptionData
fn clone(&self) -> EncryptionData
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 moreimpl Copy for EncryptionData
Auto Trait Implementations§
impl Freeze for EncryptionData
impl RefUnwindSafe for EncryptionData
impl Send for EncryptionData
impl Sync for EncryptionData
impl Unpin for EncryptionData
impl UnwindSafe for EncryptionData
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