pub struct CsvLogger { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Callback for CsvLogger
impl Callback for CsvLogger
fn requires(&self) -> Vec<DiagnosticRequest>
Source§fn requires_for(
&self,
hook: CallbackHook,
_iteration: usize,
) -> Vec<DiagnosticRequest>
fn requires_for( &self, hook: CallbackHook, _iteration: usize, ) -> Vec<DiagnosticRequest>
Requests diagnostics for a specific hook. Built-in periodic callbacks
override this to avoid computing snapshots on inactive iterations.
fn on_start(&mut self, _context: &StepContext<'_>) -> Result<CallbackAction>
fn on_iteration_end( &mut self, context: &StepContext<'_>, ) -> Result<CallbackAction>
Source§fn on_frame_end(&mut self, _context: &StepContext<'_>) -> Result<CallbackAction>
fn on_frame_end(&mut self, _context: &StepContext<'_>) -> Result<CallbackAction>
Runs once for every completed frame when frame callbacks are enabled.
For multi-frame algorithms, all frames in a batch observe the same
post-batch state while
frame_index and natural loss remain per-frame.fn on_finish(&mut self, _result: &ReconstructionResult) -> Result<()>
Auto Trait Implementations§
impl Freeze for CsvLogger
impl RefUnwindSafe for CsvLogger
impl Send for CsvLogger
impl Sync for CsvLogger
impl Unpin for CsvLogger
impl UnsafeUnpin for CsvLogger
impl UnwindSafe for CsvLogger
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