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

Implement FromStr for ServerAddress

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None

      The ServerAddress struct currently offers the ServerAddress::parse method, but it lacks a FromStr impl, which would enable the more ergonomic "a:1234".parse(). We should add this implementation.

            Assignee:
            andrew.witten@mongodb.com Andrew Witten (Inactive)
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: