1
2
3
4
5
6
7
8
9
10
11
12
/// The kind of an event. This is used to differentiate between the events in
/// an event stream log. Entry events are the most common, and represent an
/// event that has occurred. Marker events are used to indicate a point in a
/// log which is significant for the system, but not for consumers.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub enum EventKind {
    /// A standard event.
    #[default]
    Entry,
    /// A marker event for internal systems.
    Marker,
}