#[non_exhaustive]pub struct ConformanceEvent {
pub indicator: Indicator,
pub priority: Priority,
pub pid: Option<u16>,
pub at: Duration,
pub detail: String,
}Expand description
One raised conformance error.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.indicator: IndicatorThe indicator that was raised.
priority: PriorityPriority tier of the indicator.
pid: Option<u16>PID the error concerns, when applicable.
at: DurationCaller timestamp of the packet that raised it.
detail: StringHuman-readable specifics (e.g. “expected cc=5, got 7”).
Trait Implementations§
Source§impl Clone for ConformanceEvent
impl Clone for ConformanceEvent
Source§fn clone(&self) -> ConformanceEvent
fn clone(&self) -> ConformanceEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConformanceEvent
impl Debug for ConformanceEvent
impl Eq for ConformanceEvent
Source§impl PartialEq for ConformanceEvent
impl PartialEq for ConformanceEvent
Source§impl Serialize for ConformanceEvent
Available on crate feature serde only.
impl Serialize for ConformanceEvent
Available on crate feature
serde only.impl StructuralPartialEq for ConformanceEvent
Auto Trait Implementations§
impl Freeze for ConformanceEvent
impl RefUnwindSafe for ConformanceEvent
impl Send for ConformanceEvent
impl Sync for ConformanceEvent
impl Unpin for ConformanceEvent
impl UnsafeUnpin for ConformanceEvent
impl UnwindSafe for ConformanceEvent
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