Hastic standalone
https://hastic.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
368 B
20 lines
368 B
use super::pattern_detector::LearningResults; |
|
|
|
#[derive(Debug)] |
|
pub enum ResponseType { |
|
LearningStarted, |
|
LearningFinished(LearningResults) |
|
} |
|
|
|
#[derive(Debug)] |
|
pub enum RequestType { |
|
RunLearning |
|
} |
|
|
|
#[derive(Debug)] |
|
pub enum AnalyticServiceMessage { |
|
// Status, |
|
Request(RequestType), |
|
Response(ResponseType) |
|
// Detect { from: u64, to: u64 }, |
|
}
|
|
|