diff --git a/api/src/event_handler.rs b/api/src/event_handler.rs index f46bdfc..e76f984 100644 --- a/api/src/event_handler.rs +++ b/api/src/event_handler.rs @@ -19,3 +19,15 @@ pub enum UnclassifiedEvent{ ServerRegister } +impl UnclassifiedEvent{ + pub fn from_log_line(raw: &str) -> Self { + todo!("Implement UnclassifiedEvent::from_log_line"); + } + + pub async fn from_extension(raw: &str) -> Self { + // dummy sleep to make the compiler happy + tokio::time::sleep(tokio::time::Duration::from_secs(0)).await; + todo!("Implement UnclassifiedEvent::from_extension"); + } +} +