pub enum EventType {
Start = 1,
End = 2,
Sent = 3,
Received = 4,
}
Expand description
What “side” of the event did we log? E.g., for scheduling events, it might be the start or end of the event; for messages, we might log the sender or receiver.
Variants§
Start = 1
Start of an event (e.g. ScheduleStart, Sending a Message)
End = 2
End of an event (e.g. ScheduleEnd, Receiving a Message)
Sent = 3
Sender end of an event (e.g. a data message)
Received = 4
Receiver end of an event (e.g. a data message)
Trait Implementations§
Source§impl Abomonation for EventType
impl Abomonation for EventType
Source§impl Ord for EventType
impl Ord for EventType
Source§impl PartialOrd for EventType
impl PartialOrd for EventType
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more