title: How do implement a named lifetime for a type inside of a trait that doesn't take a lifetime parameter?
body: <p>I'm trying to implement the r2d2::ManageConnection trait for a SQL Server. The issue that I'm running into is that the connection struct that I want to use for my implementation requires a lifetime parameter, but I can't figure out how to specify the lifetime.</p>
  <p>Adding a named lifetime gives an error as expected.</p>
  <pre><code> impl r2d2::ManageConnection for SQL_Server_Manager{
      type Connection = odbc::Connection&lt;'a, AutocommitOn&gt;;
  
  type Connection = odbc::Connection&lt;'a, AutocommitOn&gt;;
                                     ^^ undeclared lifetime
  </code></pre>
  <p>Trying to use an unnamed lifetime also throws an error</p>
  <pre><code>type Connection = odbc::Connection&lt;'_, AutocommitOn&gt;;
                                      ^^ expected named lifetime parameter
  </code></pre>
  <p>And trying to add a named lifetime parameter to the trait throws an error</p>
  <pre><code>impl&lt;'a&gt; r2d2::ManageConnection&lt;'a&gt; for SQL_Server_Manager{
                                  ^^ unexpected lifetime argument
  </code></pre>
  <p>What is the correct way to use a Type that requires a named lifetime parameter within a Trait implementation that doesn't take a lifetime parameter?</p>