pub struct ProgressJournalWriter { /* private fields */ }Expand description
Progress journal writer for tracking execution
Implementations§
Source§impl ProgressJournalWriter
impl ProgressJournalWriter
Sourcepub fn journal_mut(&mut self) -> &mut ProgressJournal
pub fn journal_mut(&mut self) -> &mut ProgressJournal
Get mutable reference to journal
Sourcepub fn log_story_start(
&mut self,
step_id: &str,
story_id: &str,
story_title: &str,
)
pub fn log_story_start( &mut self, step_id: &str, story_id: &str, story_title: &str, )
Log story start
Sourcepub fn log_story_complete(
&mut self,
step_id: &str,
story_id: &str,
story_title: &str,
changes: &str,
)
pub fn log_story_complete( &mut self, step_id: &str, story_id: &str, story_title: &str, changes: &str, )
Log story completion
Sourcepub fn log_pattern(
&mut self,
step_id: &str,
category: &str,
description: &str,
example: Option<&str>,
)
pub fn log_pattern( &mut self, step_id: &str, category: &str, description: &str, example: Option<&str>, )
Log pattern discovery
Sourcepub fn log_test_results(
&mut self,
step_id: &str,
command: &str,
output: &str,
passed: bool,
duration_secs: f64,
)
pub fn log_test_results( &mut self, step_id: &str, command: &str, output: &str, passed: bool, duration_secs: f64, )
Log test results
Sourcepub fn log_build_results(
&mut self,
step_id: &str,
command: &str,
output: &str,
succeeded: bool,
duration_secs: f64,
)
pub fn log_build_results( &mut self, step_id: &str, command: &str, output: &str, succeeded: bool, duration_secs: f64, )
Log build results
Sourcepub fn log_decision(
&mut self,
step_id: &str,
title: &str,
context: &str,
decision: &str,
)
pub fn log_decision( &mut self, step_id: &str, title: &str, context: &str, decision: &str, )
Log a decision
Sourcepub fn into_journal(self) -> ProgressJournal
pub fn into_journal(self) -> ProgressJournal
Get the final journal
Auto Trait Implementations§
impl Freeze for ProgressJournalWriter
impl RefUnwindSafe for ProgressJournalWriter
impl Send for ProgressJournalWriter
impl Sync for ProgressJournalWriter
impl Unpin for ProgressJournalWriter
impl UnsafeUnpin for ProgressJournalWriter
impl UnwindSafe for ProgressJournalWriter
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