pub trait IntoCursorVec<T> {
// Required method
fn with_cursor<F, Z>(self, cursor_generator: F) -> Result<Vec<Edge<T>>>
where F: Fn(&T) -> Z + 'static,
Z: Serialize + DeserializeOwned;
}
Expand description
Trait to convert iterators into edges
Required Methods§
Sourcefn with_cursor<F, Z>(self, cursor_generator: F) -> Result<Vec<Edge<T>>>
fn with_cursor<F, Z>(self, cursor_generator: F) -> Result<Vec<Edge<T>>>
Maps this iterator to include the opaque cursor with each item
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.