pub enum EventLogDatum {
LogStatus(LogStatus),
Notification(EventNotificationRequest),
TimeChange(f32),
}Expand description
What an Event Log record carries.
On the wire the alternatives take context tags 0 to 2 in declaration order; the encoding crate owns that numbering.
Variants§
LogStatus(LogStatus)
A status change of the log itself.
Notification(EventNotificationRequest)
An event notification: the parameters of the ConfirmedEventNotification request, from the process identifier through the optional event values.
An ACK_NOTIFICATION is encoded without its ack-required, from-state and
event values, so the record ReadRange serves (and decodes back) has
them as false, NORMAL and None, whatever the stored request held.
TimeChange(f32)
The device clock moved by this many seconds; zero when unknown.
Trait Implementations§
Source§impl Clone for EventLogDatum
impl Clone for EventLogDatum
Source§impl Debug for EventLogDatum
impl Debug for EventLogDatum
Source§impl PartialEq for EventLogDatum
impl PartialEq for EventLogDatum
impl StructuralPartialEq for EventLogDatum
Auto Trait Implementations§
impl Freeze for EventLogDatum
impl RefUnwindSafe for EventLogDatum
impl Send for EventLogDatum
impl Sync for EventLogDatum
impl Unpin for EventLogDatum
impl UnsafeUnpin for EventLogDatum
impl UnwindSafe for EventLogDatum
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