Enum usiem::components::common::SiemMessage [−][src]
#[non_exhaustive]
pub enum SiemMessage {
Command(u64, u64, SiemFunctionCall),
Response(u64, SiemFunctionResponse),
Log(SiemLog),
Notification(u64, Cow<'static, str>),
Dataset(SiemDataset),
Alert(SiemAlert),
Metrics(u64, Cow<'static, str>, SiemMetric),
Task(u64, SiemTask),
TaskResult(u64, SiemTaskResult),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Command(u64, u64, SiemFunctionCall)
Execute a function in the component, first element is the ID of the Component and the second the ID of the command to keep track
Tuple Fields of Command
Response(u64, SiemFunctionResponse)
Response to a function call, first element is the ID of the Response
Tuple Fields of Response
0: u64
1: SiemFunctionResponse
Log(SiemLog)
Process a log
Tuple Fields of Log
0: SiemLog
Local logging system. First element is the ID of the component, to be able to route messages
Dataset(SiemDataset)
Dataset updated, this is the last state of it.
Tuple Fields of Dataset
0: SiemDataset
Alert(SiemAlert)
Alerting
Tuple Fields of Alert
0: SiemAlert
Metrics(u64, Cow<'static, str>, SiemMetric)
Send/Receive Metrics, first element is the ID of the component, second is the name of the metric
Tuple Fields of Metrics
TaskResult(u64, SiemTaskResult)
Tuple Fields of TaskResult
0: u64
1: SiemTaskResult