Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1676

Simplify cursor internals

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.8.0
    • Affects Version/s: None
    • Component/s: None

      Currently, `Cursor` is implemented on top of an internal `GenericCursor` that has a type parameter for a type implementing the `GetMoreProvider` trait. The only substantial difference this encapsulates is whether the session is owned or borrowed; I suspect we could replace `GetMoreProvider` with a concrete type that's generic over the session type.

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: