#[non_exhaustive]pub enum EventReport {
Data(EventReportItem),
Status {
path: EventPath,
status: u8,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Data(EventReportItem)
An EventDataIB carrying a real event.
Status
An EventStatusIB carrying a status for a requested event path.
Trait Implementations§
Source§impl Clone for EventReport
impl Clone for EventReport
Source§fn clone(&self) -> EventReport
fn clone(&self) -> EventReport
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 EventReport
impl Debug for EventReport
Source§impl PartialEq for EventReport
impl PartialEq for EventReport
impl StructuralPartialEq for EventReport
Auto Trait Implementations§
impl Freeze for EventReport
impl RefUnwindSafe for EventReport
impl Send for EventReport
impl Sync for EventReport
impl Unpin for EventReport
impl UnsafeUnpin for EventReport
impl UnwindSafe for EventReport
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