pub trait CursorTrait {
type Selector: SelectorTrait + Send + Sync;
// Required method
fn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>
where C: IntoIdentity;
}Expand description
A trait for any type that can be turn into a cursor
Required Associated Types§
Sourcetype Selector: SelectorTrait + Send + Sync
type Selector: SelectorTrait + Send + Sync
Select operation
Required Methods§
Sourcefn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>where
C: IntoIdentity,
fn cursor_by<C>(self, order_columns: C) -> Cursor<Self::Selector>where
C: IntoIdentity,
Convert current type into a cursor
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.