pub enum EventReport<'a> {
Status(EventStatus),
Data(EventData<'a>),
}Expand description
EventReportIB (§10.6.10).
As with AttributeReport, the schema’s two fields are a choice: a report carries the
event, or a status saying why it could not.
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Clone for EventReport<'a>
impl<'a> Clone for EventReport<'a>
impl<'a> Copy for EventReport<'a>
Source§impl<'a> Debug for EventReport<'a>
impl<'a> Debug for EventReport<'a>
impl<'a> Eq for EventReport<'a>
Source§impl<'a> PartialEq for EventReport<'a>
impl<'a> PartialEq for EventReport<'a>
impl<'a> StructuralPartialEq for EventReport<'a>
Auto Trait Implementations§
impl<'a> Forget for EventReport<'a>
impl<'a> Freeze for EventReport<'a>
impl<'a> Move for EventReport<'a>
impl<'a> RefUnwindSafe for EventReport<'a>
impl<'a> Send for EventReport<'a>
impl<'a> Sync for EventReport<'a>
impl<'a> Unpin for EventReport<'a>
impl<'a> UnsafeUnpin for EventReport<'a>
impl<'a> UnwindSafe for EventReport<'a>
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