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

Return Deserialize types from list_databases and list_collections

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-beta
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Now that Cursor can be generic over a Deserialize type, we should update the Cursor returned from list_collections to be generic over one (e.g. CollectionSpecification).

      We should do so for list_databases too for consistency, though that method does not return a cursor.

      These types should be guaranteed to not break now that the versioned API is around.

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: