Enum usiem::components::common::SiemMessage
source · #[non_exhaustive]
pub enum SiemMessage {
Command(SiemCommandHeader, SiemCommandCall),
Response(SiemCommandHeader, SiemCommandResponse),
Log(SiemLog),
Notification(u64, Cow<'static, str>),
Dataset(SiemDataset),
Alert(SiemAlert),
Task(SiemCommandHeader, SiemTask),
TaskResult(SiemCommandHeader, 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(SiemCommandHeader, SiemCommandCall)
Execute a command in the component
Response(SiemCommandHeader, SiemCommandResponse)
Response to a function call, first element is the ID of the Response
Log(SiemLog)
Process a log
Notification(u64, Cow<'static, str>)
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.
Alert(SiemAlert)
Alerting
Task(SiemCommandHeader, SiemTask)
TaskResult(SiemCommandHeader, SiemTaskResult)
Trait Implementations
sourceimpl Debug for SiemMessage
impl Debug for SiemMessage
sourceimpl Serialize for SiemMessage
impl Serialize for SiemMessage
Auto Trait Implementations
impl RefUnwindSafe for SiemMessage
impl Send for SiemMessage
impl Sync for SiemMessage
impl Unpin for SiemMessage
impl UnwindSafe for SiemMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more