pub trait EventTrait {
type Error;
// Required method
fn query_events<'life0, 'async_trait>(
&'life0 self,
query: EventFilter,
cursor: Option<EventID>,
limit: Option<usize>,
descending_order: bool,
) -> Pin<Box<dyn Future<Output = IotaRpcResult<EventPage>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}