pub enum AnalysisState {
Current,
Refreshing,
Stale,
Partial,
Capped,
Failed,
}Expand description
Lifecycle state produced by the analysis-identity slice.
These are freshness signals only: they describe the relationship between an
output and the source it was computed from (current, in-flight, stale,
partial, capped, or failed). No variant is a safety or correctness claim
beyond this freshness relationship — Current does not mean the file is
safe, and none of Refreshing/Stale/Partial/Capped/Failed mean it is
unsafe. Consumers must not read any state as proof, UB-free status, or
Miri-clean status.
Variants§
Current
The output reflects the current source; no known staleness.
Refreshing
A newer analysis is already in flight; this output may be superseded shortly.
Stale
The source has changed since this output was produced.
Partial
The analysis completed but covered less than the full requested scope.
Capped
The analysis stopped early after hitting a configured limit (e.g. max cards).
Failed
The analysis did not complete; this output should not be treated as current.
Implementations§
Trait Implementations§
Source§impl Clone for AnalysisState
impl Clone for AnalysisState
Source§fn clone(&self) -> AnalysisState
fn clone(&self) -> AnalysisState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnalysisState
impl Debug for AnalysisState
Source§impl<'de> Deserialize<'de> for AnalysisState
impl<'de> Deserialize<'de> for AnalysisState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnalysisState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnalysisState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for AnalysisState
Source§impl PartialEq for AnalysisState
impl PartialEq for AnalysisState
Source§impl Serialize for AnalysisState
impl Serialize for AnalysisState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for AnalysisState
Auto Trait Implementations§
impl Freeze for AnalysisState
impl RefUnwindSafe for AnalysisState
impl Send for AnalysisState
impl Sync for AnalysisState
impl Unpin for AnalysisState
impl UnsafeUnpin for AnalysisState
impl UnwindSafe for AnalysisState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more