Enum webc::v2::ChecksumAlgorithm
source · #[non_exhaustive]pub enum ChecksumAlgorithm {
None,
Sha256,
}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 ChecksumAlgorithm
impl Clone for ChecksumAlgorithm
source§fn clone(&self) -> ChecksumAlgorithm
fn clone(&self) -> ChecksumAlgorithm
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 moresource§impl Debug for ChecksumAlgorithm
impl Debug for ChecksumAlgorithm
source§impl Default for ChecksumAlgorithm
impl Default for ChecksumAlgorithm
source§fn default() -> ChecksumAlgorithm
fn default() -> ChecksumAlgorithm
Returns the “default value” for a type. Read more
source§impl Hash for ChecksumAlgorithm
impl Hash for ChecksumAlgorithm
source§impl PartialEq for ChecksumAlgorithm
impl PartialEq for ChecksumAlgorithm
source§fn eq(&self, other: &ChecksumAlgorithm) -> bool
fn eq(&self, other: &ChecksumAlgorithm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ChecksumAlgorithm
impl Eq for ChecksumAlgorithm
impl StructuralEq for ChecksumAlgorithm
impl StructuralPartialEq for ChecksumAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for ChecksumAlgorithm
impl Send for ChecksumAlgorithm
impl Sync for ChecksumAlgorithm
impl Unpin for ChecksumAlgorithm
impl UnwindSafe for ChecksumAlgorithm
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.