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>
Source§fn clone(&self) -> EventReport<'a>
fn clone(&self) -> EventReport<'a>
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 moreimpl<'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> Freeze 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