pub struct EventDetails {
pub message: String,
pub trigger_bytes: Option<Vec<u8>>,
pub bytes_outside_sync: Option<usize>,
pub clear_type: Option<u8>,
pub clear_mode: Option<u8>,
pub affected_rows: Option<Vec<u16>>,
pub stats: Option<AnalysisStats>,
}Expand description
Additional details for specific event types.
Fields§
§message: StringDescription of the event.
trigger_bytes: Option<Vec<u8>>Bytes that triggered the event.
bytes_outside_sync: Option<usize>Number of bytes outside sync.
clear_type: Option<u8>Clear command type (ED=0, EL=1).
clear_mode: Option<u8>Clear mode (0=to end, 1=to start, 2=all).
affected_rows: Option<Vec<u16>>Rows affected by the operation.
stats: Option<AnalysisStats>Frame statistics (for AnalysisComplete).
Trait Implementations§
Source§impl Clone for EventDetails
impl Clone for EventDetails
Source§fn clone(&self) -> EventDetails
fn clone(&self) -> EventDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventDetails
impl Debug for EventDetails
Source§impl Default for EventDetails
impl Default for EventDetails
Source§fn default() -> EventDetails
fn default() -> EventDetails
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventDetails
impl RefUnwindSafe for EventDetails
impl Send for EventDetails
impl Sync for EventDetails
impl Unpin for EventDetails
impl UnsafeUnpin for EventDetails
impl UnwindSafe for EventDetails
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