Return whether the event is a [`NextEvent::Invoke`] event or not
(&self)
| 49 | impl NextEvent { |
| 50 | /// Return whether the event is a [`NextEvent::Invoke`] event or not |
| 51 | pub fn is_invoke(&self) -> bool { |
| 52 | matches!(self, NextEvent::Invoke(_)) |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | /// Wrapper with information about the next |