identity_iota_interaction

Trait EventTrait

Source
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;
}

Required Associated Types§

Source

type Error

Error type used

Required Methods§

Source

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,

Implementors§