pub enum RepoFreshnessState {
Fresh,
WorkingTreeChanged,
CommitsBehind,
ConfigChanged,
ExtractorChanged,
CodegraphPending,
Partial,
Corrupt,
Unknown,
Unavailable,
}Expand description
Freshness state for one repository checkout.
Variants§
Fresh
Current inputs match the published snapshot.
WorkingTreeChanged
The working tree changed after the snapshot.
CommitsBehind
Repository commits advanced after the snapshot.
ConfigChanged
Workspace or repository configuration changed.
ExtractorChanged
An extractor version changed.
CodegraphPending
Local CodeGraph freshness is pending.
Partial
Only part of the required inputs were scanned.
Corrupt
Stored state failed an integrity check.
Unknown
Freshness could not be determined.
Repository checkout is unavailable.
Trait Implementations§
Source§impl Clone for RepoFreshnessState
impl Clone for RepoFreshnessState
Source§fn clone(&self) -> RepoFreshnessState
fn clone(&self) -> RepoFreshnessState
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 RepoFreshnessState
Source§impl Debug for RepoFreshnessState
impl Debug for RepoFreshnessState
Source§impl<'de> Deserialize<'de> for RepoFreshnessState
impl<'de> Deserialize<'de> for RepoFreshnessState
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 RepoFreshnessState
Source§impl JsonSchema for RepoFreshnessState
impl JsonSchema for RepoFreshnessState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RepoFreshnessState
impl PartialEq for RepoFreshnessState
Source§impl Serialize for RepoFreshnessState
impl Serialize for RepoFreshnessState
impl StructuralPartialEq for RepoFreshnessState
Auto Trait Implementations§
impl Freeze for RepoFreshnessState
impl RefUnwindSafe for RepoFreshnessState
impl Send for RepoFreshnessState
impl Sync for RepoFreshnessState
impl Unpin for RepoFreshnessState
impl UnsafeUnpin for RepoFreshnessState
impl UnwindSafe for RepoFreshnessState
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