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

Remove constants for subtypes and element types

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

      As part of the work to stabilize the BSON API, we should consider removing the constants defined for binary subtypes and element types. Considering that we provide enums for each of these already with `From` implementations in both directions to convert to and from u8, we can cut down on the API surface of the spec module quite a bit by removing them.

            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: