@@ -97,56 +97,56 @@ Connection Troubleshooting
9797 .. code-block:: none
9898 :copyable: false
9999
100- Error: Error { kind: Authentication { message: "SCRAM failure: bad auth :
101- authentication failed" }, labels: {}, wire_version: None, source: Some(Error
102- { kind: Command(CommandError { code: 8000, code_name: "AtlasError", message:
103- "bad auth : authentication failed", topology_version: None }),
104- labels: {}, wire_version: None, source: None }) }
100+ Error: Error { kind: Authentication { message: "SCRAM failure: bad auth :
101+ authentication failed" }, labels: {}, wire_version: None, source: Some(Error
102+ { kind: Command(CommandError { code: 8000, code_name: "AtlasError", message:
103+ "bad auth : authentication failed", topology_version: None }),
104+ labels: {}, wire_version: None, source: None }) }
105105
106- .. replacement:: check-credentials-formatting-anchor
106+ .. replacement:: check-credentials-formatting-anchor
107107
108- .. _rust-troubleshooting-connection-string-auth:
108+ .. _rust-troubleshooting-connection-string-auth:
109109
110- .. replacement:: learn-more-connection-string-admonition
110+ .. replacement:: learn-more-connection-string-admonition
111111
112- .. tip::
112+ .. tip::
113113
114- For more information about connection strings,
115- see the :ref:`rust-quick-start-connection-string` guide.
114+ For more information about connection strings,
115+ see the :ref:`rust-quick-start-connection-string` guide.
116116
117- .. replacement:: verify-authentication-mechanism-anchor
117+ .. replacement:: verify-authentication-mechanism-anchor
118118
119- .. _rust-troubleshooting-connection-auth-mechanism:
119+ .. _rust-troubleshooting-connection-auth-mechanism:
120120
121- .. replacement:: credentials-provider-alternative-method-description
121+ .. replacement:: credentials-provider-alternative-method-description
122122
123- Alternatively, you can specify your authentication credentials in a
124- ``Credential`` struct.
123+ Alternatively, you can specify your authentication credentials in a
124+ ``Credential`` struct.
125125
126- .. replacement:: authentication-guide-reference
126+ .. replacement:: authentication-guide-reference
127127
128- To learn more about authentication, see the :ref:`rust-authentication` guide.
128+ To learn more about authentication, see the :ref:`rust-authentication` guide.
129129
130- .. replacement:: verify-authentication-database-anchor
130+ .. replacement:: verify-authentication-database-anchor
131131
132- .. _rust-troubleshooting-connection-admin:
132+ .. _rust-troubleshooting-connection-admin:
133133
134- .. replacement:: authsource-param-code-block
134+ .. replacement:: authsource-param-code-block
135135
136- .. code-block:: rust
137- :copyable: true
136+ .. code-block:: rust
137+ :copyable: true
138138
139- let uri = "mongodb://<username>:<password>@<hostname>:<port>/?authSource=users";
140- let client = Client::with_uri_str(uri).await?;
139+ let uri = "mongodb://<username>:<password>@<hostname>:<port>/?authSource=users";
140+ let client = Client::with_uri_str(uri).await?;
141141
142- .. replacement:: dns-resolution-anchor
142+ .. replacement:: dns-resolution-anchor
143143
144- .. _rust-troubleshooting-connection-dns-resolution:
144+ .. _rust-troubleshooting-connection-dns-resolution:
145145
146- .. replacement:: dns-error-message
146+ .. replacement:: dns-error-message
147147
148- .. code-block:: none
149- :copyable: false
148+ .. code-block:: none
149+ :copyable: false
150150
151- Error: Error { kind: DnsResolve { message: "sample message. type:
152- SRV class: IN" }, labels: {}, wire_version: None, source: None }
151+ Error: Error { kind: DnsResolve { message: "sample message. type:
152+ SRV class: IN" }, labels: {}, wire_version: None, source: None }
0 commit comments