MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / LogProcessor

Interface LogProcessor

src/bin/test_log_processor.rs:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13 #[async_trait]
14 pub trait LogProcessor: Send + Sync {
15 fn process_line(&mut self, line: &str) -> Option<log_line::LogLine>;
16 fn get_final_result(&self) -> Option<&TaskResult>;
17 }
18
19 #[derive(Debug, Clone)]
20 pub struct TaskResult {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected