pub enum UnknownInteractionsProtocolEvent {
StrictEvent {},
StrictEventFields {
some_field: i32,
},
FlexibleEvent {},
FlexibleEventFields {
some_field: i32,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
Source§impl UnknownInteractionsProtocolEvent
impl UnknownInteractionsProtocolEvent
pub fn into_strict_event(self) -> Option<()>
pub fn into_strict_event_fields(self) -> Option<i32>
pub fn into_flexible_event(self) -> Option<()>
pub fn into_flexible_event_fields(self) -> Option<i32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnknownInteractionsProtocolEvent
impl RefUnwindSafe for UnknownInteractionsProtocolEvent
impl Send for UnknownInteractionsProtocolEvent
impl Sync for UnknownInteractionsProtocolEvent
impl Unpin for UnknownInteractionsProtocolEvent
impl UnwindSafe for UnknownInteractionsProtocolEvent
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