#[non_exhaustive]pub enum EvidenceKind {
Show 13 variants
KnownLocatorAvailable,
ExactFingerprintMatch,
FullHashMatch,
PartialFingerprintMatch,
FileSizeMatch,
FileNameMatch,
RelativePathSimilarity,
MediaRootRelation,
MediaRootUnmapped,
MediaRootUnavailable,
FingerprintMismatch,
ConflictingCandidate,
DiscoveryError,
}Expand description
A machine-inspectable reason supporting or opposing a resolution candidate.
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.
KnownLocatorAvailable
A persisted locator is currently available.
ExactFingerprintMatch
The complete stored fingerprint matches.
FullHashMatch
A cryptographic full-file digest matches.
PartialFingerprintMatch
A sampled or otherwise partial fingerprint matches.
FileSizeMatch
The byte size matches.
FileNameMatch
The final path component matches.
RelativePathSimilarity
The path relative to a media root is similar.
MediaRootRelation
The candidate is contained in a configured media root.
MediaRootUnmapped
A logical media root has no mapping on this machine.
A mapped media root cannot currently be searched.
FingerprintMismatch
Present content does not match its stored fingerprint evidence.
ConflictingCandidate
Another candidate has equivalent credible evidence.
DiscoveryError
Candidate discovery or verification could not complete safely.
Trait Implementations§
Source§impl Clone for EvidenceKind
impl Clone for EvidenceKind
Source§fn clone(&self) -> EvidenceKind
fn clone(&self) -> EvidenceKind
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 EvidenceKind
Source§impl Debug for EvidenceKind
impl Debug for EvidenceKind
impl Eq for EvidenceKind
Source§impl Hash for EvidenceKind
impl Hash for EvidenceKind
Source§impl Ord for EvidenceKind
impl Ord for EvidenceKind
Source§fn cmp(&self, other: &EvidenceKind) -> Ordering
fn cmp(&self, other: &EvidenceKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EvidenceKind
impl PartialEq for EvidenceKind
Source§fn eq(&self, other: &EvidenceKind) -> bool
fn eq(&self, other: &EvidenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EvidenceKind
impl PartialOrd for EvidenceKind
impl StructuralPartialEq for EvidenceKind
Auto Trait Implementations§
impl Freeze for EvidenceKind
impl RefUnwindSafe for EvidenceKind
impl Send for EvidenceKind
impl Sync for EvidenceKind
impl Unpin for EvidenceKind
impl UnsafeUnpin for EvidenceKind
impl UnwindSafe for EvidenceKind
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