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

Mark BSON enums as non-exhaustive where appropriate

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-0.15.0
    • Affects Version/s: None
    • Component/s: BSON
    • None

      As part of the work to stabilize the BSON API, we should mark the enums that are likely to have new variants added as non-exhaustive to avoid future breaking changes. Each of the error enums as well as BinarySubtype should be marked this way, as well as possibly the Bson and ElementType enums themselves.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: