Enum usiem::components::common::SiemMessage[][src]

#[non_exhaustive]
pub enum SiemMessage {
    Command(u64u64SiemFunctionCall),
    Response(u64SiemFunctionResponse),
    Log(SiemLog),
    Notification(u64Cow<'static, str>),
    Dataset(SiemDataset),
    Alert(SiemAlert),
    Metrics(u64Cow<'static, str>, SiemMetric),
    Task(u64SiemTask),
    TaskResult(u64SiemTaskResult),
}

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(u64u64SiemFunctionCall)

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

0: u641: u642: SiemFunctionCall

Response to a function call, first element is the ID of the Response

Tuple Fields of Response

0: u641: SiemFunctionResponse
Log(SiemLog)

Process a log

Tuple Fields of Log

0: SiemLog
Notification(u64Cow<'static, str>)

Local logging system. First element is the ID of the component, to be able to route messages

Tuple Fields of Notification

0: u641: Cow<'static, str>
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(u64Cow<'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

0: u641: Cow<'static, str>2: SiemMetric
Task(u64SiemTask)

Tuple Fields of Task

0: u641: SiemTask
TaskResult(u64SiemTaskResult)

Tuple Fields of TaskResult

0: u641: SiemTaskResult

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.