Expand description
The paginator is a stateful helper object that handles reaching an event, either from a cache or network, and surrounding events (“context”). Then, it makes it possible to paginate forward or backward, from that event, until one end of the timeline (front or back) is reached.
Structs§
- Pagination
Result - The result of a single pagination, be it from
Paginator::paginate_backward
orPaginator::paginate_forward
. - Paginator
- A stateful object to reach to an event, and then paginate backward and forward from it.
- Start
From Result - The result of an initial
Paginator::start_from
query.
Enums§
- Paginator
Error - An error that happened when using a
Paginator
. - Paginator
State - Current state of a
Paginator
.
Traits§
- Paginable
Room - A room that can be paginated.