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

Accept PathBuf instead of String for paths in options

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0-beta
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      TlsOptions allows users to provide paths to certain certificates, but they're currently accepted as String. We should instead use PathBuf from the standard library to allow a more ergonomic API. This is in line with the C-CUSTOM-TYPE Rust API guideline.

            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: