pub struct EncryptedFile {
pub size: u64,
pub digest: Vec<u8>,
}Expand description
Meta data about an encrypted file.
Fields§
§size: u64Size of the encrypted data in bytes.
digest: Vec<u8>Sha256 digest of the encrypted buffer.
Trait Implementations§
Source§impl Clone for EncryptedFile
impl Clone for EncryptedFile
Source§fn clone(&self) -> EncryptedFile
fn clone(&self) -> EncryptedFile
Returns a copy 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 EncryptedFile
impl RefUnwindSafe for EncryptedFile
impl Send for EncryptedFile
impl Sync for EncryptedFile
impl Unpin for EncryptedFile
impl UnwindSafe for EncryptedFile
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