#[non_exhaustive]pub enum EventReply {
BookedOk,
TypeNotSupported,
ResourcesConsumed,
Reserved(u8),
}Expand description
reply — the event request reply code (Table 60).
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.
BookedOk
0 — Event booked OK.
TypeNotSupported
1 — Event type not supported.
ResourcesConsumed
2 — Event resources consumed.
Reserved(u8)
3-255 — reserved for future use.
Implementations§
Trait Implementations§
Source§impl Clone for EventReply
impl Clone for EventReply
Source§fn clone(&self) -> EventReply
fn clone(&self) -> EventReply
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 Copy for EventReply
Source§impl Debug for EventReply
impl Debug for EventReply
Source§impl Display for EventReply
impl Display for EventReply
impl Eq for EventReply
Source§impl PartialEq for EventReply
impl PartialEq for EventReply
Source§impl Serialize for EventReply
Available on crate feature serde only.
impl Serialize for EventReply
Available on crate feature
serde only.impl StructuralPartialEq for EventReply
Auto Trait Implementations§
impl Freeze for EventReply
impl RefUnwindSafe for EventReply
impl Send for EventReply
impl Sync for EventReply
impl Unpin for EventReply
impl UnsafeUnpin for EventReply
impl UnwindSafe for EventReply
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