pub enum SimilarCodeSkipReason {
Show 14 variants
BelowMinimumLines,
UnsupportedFunction,
GeneratedSource,
FunctionTooLarge,
InputLimit,
SourceBytesLimit,
VectorMemoryLimit,
ComparisonLimit,
CandidateLimit,
NeighborLimit,
Timeout,
ProviderFailure,
TokenTruncation,
EnrichmentUnavailable,
}Expand description
Stable reasons why admitted work was skipped or truncated.
Variants§
BelowMinimumLines
Function was shorter than the configured minimum source-line count.
UnsupportedFunction
Syntax form is outside the supported extraction contract.
GeneratedSource
Generated source was excluded.
FunctionTooLarge
One function exceeded the per-function byte limit.
InputLimit
File or function admission limit was reached.
SourceBytesLimit
Aggregate source byte limit was reached.
VectorMemoryLimit
Vector memory limit was reached.
ComparisonLimit
Pair comparison limit was reached.
CandidateLimit
Candidate result limit was reached.
NeighborLimit
Per-function neighbor limit was reached.
Timeout
Provider or overall timeout was reached.
ProviderFailure
Local provider failed after returning a usable subset of vectors.
TokenTruncation
Provider tokenization truncated an otherwise admitted source fragment.
Optional enrichment source was unavailable.
Trait Implementations§
Source§impl Clone for SimilarCodeSkipReason
impl Clone for SimilarCodeSkipReason
impl Copy for SimilarCodeSkipReason
Source§impl Debug for SimilarCodeSkipReason
impl Debug for SimilarCodeSkipReason
Source§impl<'de> Deserialize<'de> for SimilarCodeSkipReason
impl<'de> Deserialize<'de> for SimilarCodeSkipReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SimilarCodeSkipReason
Source§impl Hash for SimilarCodeSkipReason
impl Hash for SimilarCodeSkipReason
Source§impl Ord for SimilarCodeSkipReason
impl Ord for SimilarCodeSkipReason
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SimilarCodeSkipReason
impl PartialEq for SimilarCodeSkipReason
Source§impl PartialOrd for SimilarCodeSkipReason
impl PartialOrd for SimilarCodeSkipReason
Source§impl Serialize for SimilarCodeSkipReason
impl Serialize for SimilarCodeSkipReason
impl StructuralPartialEq for SimilarCodeSkipReason
Auto Trait Implementations§
impl Freeze for SimilarCodeSkipReason
impl RefUnwindSafe for SimilarCodeSkipReason
impl Send for SimilarCodeSkipReason
impl Sync for SimilarCodeSkipReason
impl Unpin for SimilarCodeSkipReason
impl UnsafeUnpin for SimilarCodeSkipReason
impl UnwindSafe for SimilarCodeSkipReason
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.