#[non_exhaustive]pub enum FingerprintMode {
Disabled,
Enabled {
seed: u64,
},
Legacy {
expected: u64,
},
}Expand description
Fingerprint mode of a Configuration.
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.
Disabled
Fingerprinting is disabled.
Enabled
Fingerprinting is enabled with a seed.
Legacy
Legacy fingerprinting with an expected hash.
Trait Implementations§
Source§impl Clone for FingerprintMode
impl Clone for FingerprintMode
Source§fn clone(&self) -> FingerprintMode
fn clone(&self) -> FingerprintMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FingerprintMode
Source§impl Debug for FingerprintMode
impl Debug for FingerprintMode
impl Eq for FingerprintMode
Source§impl PartialEq for FingerprintMode
impl PartialEq for FingerprintMode
Source§fn eq(&self, other: &FingerprintMode) -> bool
fn eq(&self, other: &FingerprintMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FingerprintMode
Auto Trait Implementations§
impl Freeze for FingerprintMode
impl RefUnwindSafe for FingerprintMode
impl Send for FingerprintMode
impl Sync for FingerprintMode
impl Unpin for FingerprintMode
impl UnsafeUnpin for FingerprintMode
impl UnwindSafe for FingerprintMode
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