pub trait PaginationExt {
type Data;
// Required method
fn into_paginator(self) -> ListPaginator<Self::Data>;
}
Expand description
An extension trait to allow converting List<T>
and SearchList<T>
into
a type that can be paginated. Not meant to be implemented by any other types.
Required Associated Types§
Required Methods§
Sourcefn into_paginator(self) -> ListPaginator<Self::Data>
fn into_paginator(self) -> ListPaginator<Self::Data>
Use the current page state to construct an adaptor capable of paginating from where the current data left off.