pub struct CognitiveTickResult {
pub tick_number: u64,
pub elapsed_ms: u32,
pub budget_ms: u32,
pub git_commits_found: usize,
pub files_changed: usize,
pub nodes_processed: usize,
pub confidence_updated: bool,
pub within_budget: bool,
}Expand description
Detailed outcome of a single cognitive tick processed by the WeaverEngine.
Complements the existing TickResult enum with per-tick metrics for the
CognitiveTick integration (git polling, file watching, ingestion progress).
Fields§
§tick_number: u64Which tick number this result corresponds to.
elapsed_ms: u32Actual wall-clock time consumed by this tick (ms).
budget_ms: u32Budget allocated for this tick (ms).
git_commits_found: usizeNumber of new git commits detected during this tick.
files_changed: usizeNumber of source files that changed since last tick.
nodes_processed: usizeNumber of pending nodes processed during ingestion phase.
confidence_updated: boolWhether the confidence report was recomputed this tick.
within_budget: boolWhether the tick completed within its budget.
Trait Implementations§
Source§impl Clone for CognitiveTickResult
impl Clone for CognitiveTickResult
Source§fn clone(&self) -> CognitiveTickResult
fn clone(&self) -> CognitiveTickResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CognitiveTickResult
impl Debug for CognitiveTickResult
Source§impl Default for CognitiveTickResult
impl Default for CognitiveTickResult
Source§fn default() -> CognitiveTickResult
fn default() -> CognitiveTickResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CognitiveTickResult
impl<'de> Deserialize<'de> for CognitiveTickResult
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
Auto Trait Implementations§
impl Freeze for CognitiveTickResult
impl RefUnwindSafe for CognitiveTickResult
impl Send for CognitiveTickResult
impl Sync for CognitiveTickResult
impl Unpin for CognitiveTickResult
impl UnsafeUnpin for CognitiveTickResult
impl UnwindSafe for CognitiveTickResult
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<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>
Converts
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>
Converts
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