#[non_exhaustive]pub enum EvidenceKind {
Show 15 variants
KnownLocatorAvailable,
ExactFingerprintMatch,
FullHashMatch,
PartialFingerprintMatch,
FileSizeMatch,
FileNameMatch,
RelativePathSimilarity,
MediaRootRelation,
MediaRootUnmapped,
MediaRootUnavailable,
FingerprintMismatch,
FingerprintNotVerified,
SearchTruncated,
ConflictingCandidate,
DiscoveryError,
}Expand description
A machine-inspectable reason supporting or opposing a resolution candidate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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.
FingerprintNotVerified
Stored fingerprint evidence exists only in domains the resolver cannot compute, so content identity was not checked.
SearchTruncated
A searched directory held more entries than the per-directory budget, so part of it was not searched.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more