pub trait CursorTrait {
type Selector: SelectorTrait;
}Expand description
Extension trait that adds .cursor_by(...) to anything that can be
paginated with a keyset cursor — implemented for Select,
SelectTwo, SelectThree.
Required Associated Types§
Sourcetype Selector: SelectorTrait
type Selector: SelectorTrait
The SelectorTrait used to materialise each row of the cursor.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".