#[non_exhaustive]pub enum EncryptedFileHash {
Sha256(Base64<Standard, [u8; 32]>),
}Expand description
The hash of an encrypted file’s ciphertext.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for EncryptedFileHash
impl Clone for EncryptedFileHash
Source§fn clone(&self) -> EncryptedFileHash
fn clone(&self) -> EncryptedFileHash
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 moreSource§impl Debug for EncryptedFileHash
impl Debug for EncryptedFileHash
Source§impl Extend<EncryptedFileHash> for EncryptedFileHashes
impl Extend<EncryptedFileHash> for EncryptedFileHashes
Source§fn extend<T: IntoIterator<Item = EncryptedFileHash>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = EncryptedFileHash>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<EncryptedFileHash> for EncryptedFileHashes
impl FromIterator<EncryptedFileHash> for EncryptedFileHashes
Source§fn from_iter<T: IntoIterator<Item = EncryptedFileHash>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = EncryptedFileHash>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for EncryptedFileHash
impl RefUnwindSafe for EncryptedFileHash
impl Send for EncryptedFileHash
impl Sync for EncryptedFileHash
impl Unpin for EncryptedFileHash
impl UnsafeUnpin for EncryptedFileHash
impl UnwindSafe for EncryptedFileHash
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more