Deploying to gh-pages from @ b30bc67bd4 🚀

This commit is contained in:
realaravinth
2022-05-30 10:35:30 +00:00
parent c5362d83d1
commit ad7eebbb2b
52 changed files with 138 additions and 105 deletions

View File

@@ -21,7 +21,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#911-921">source</a></span><a href="#impl-From%3CInnerNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#912-920">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#926-936">source</a></span><a href="#impl-From%3CInnerNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#927-935">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-PartialEq%3CNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View File

@@ -11,5 +11,5 @@
</div></details><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#62-75">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -77,5 +77,5 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#243">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#91-876">source</a></span><a href="#impl-MCDatabase" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#106-891">source</a></span><a href="#impl-MCDatabase" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -9,5 +9,5 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#80-88">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -21,7 +21,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#911-921">source</a></span><a href="#impl-From%3CInnerNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#912-920">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#926-936">source</a></span><a href="#impl-From%3CInnerNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#927-935">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-PartialEq%3CNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View File

@@ -11,5 +11,5 @@
</div></details><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#62-75">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -77,5 +77,5 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#243">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#91-876">source</a></span><a href="#impl-MCDatabase" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#106-891">source</a></span><a href="#impl-MCDatabase" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -9,5 +9,5 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#80-88">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../db_sqlx_postgres/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module prelude</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></div></section><div id="sidebar-vars" data-name="prelude" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../db_sqlx_postgres/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">db_sqlx_postgres</a>::<wbr><a class="mod" href="#">prelude</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#56-59">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="reexports" class="small-section-header"><a href="#reexports">Re-exports</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">db_sqlx_postgres</a>::<wbr><a class="mod" href="#">prelude</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#60-63">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="reexports" class="small-section-header"><a href="#reexports">Re-exports</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left import-item"><code>pub use <a class="mod" href="../index.html" title="mod db_sqlx_postgres">super</a>::*;</code></div><div class="item-right docblock-short"></div></div></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="dev/index.html" title="db_sqlx_postgres::prelude::dev mod">dev</a></div><div class="item-right docblock-short"><p>useful imports for supporting a new database</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_postgres::prelude::errors mod">errors</a></div><div class="item-right docblock-short"><p>represents all the ways a trait can fail using this crate</p>

View File

@@ -11,5 +11,5 @@
</div></details><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#62-75">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -9,5 +9,5 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#80-88">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -21,7 +21,7 @@
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.61.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.61.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;__deserializer: __D<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>, &lt;__D as <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.137/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#911-921">source</a></span><a href="#impl-From%3CInnerNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#912-920">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CInnerNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#926-936">source</a></span><a href="#impl-From%3CInnerNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#927-935">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_postgres::InnerNotification">InnerNotification</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CNotification%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#impl-PartialEq%3CNotification%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>&gt; for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#263">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.61.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.Notification.html" title="struct db_sqlx_postgres::prelude::Notification">Notification</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>

View File

@@ -11,5 +11,5 @@
</div></details><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Pool" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#37">source</a></div><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a>: <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a></h4></div></summary><div class="docblock"><p>database specific pool-type</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.connect" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#40">source</a></div><h4 class="code-header">fn <a href="#tymethod.connect" class="fnname">connect</a>&lt;'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Connect.html#associatedtype.Pool" title="type db_sqlx_postgres::prelude::Connect::Pool">Pool</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
create connection pool</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#62-75">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Connect" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#66-90">source</a></span><a href="#impl-Connect" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_postgres::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_postgres::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="type trait-impl has-srclink"><a href="#associatedtype.Pool-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -77,5 +77,5 @@ trait.</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_config_fetched" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#243">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig fetches</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_solve" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig solves</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.fetch_confirm" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a>&lt;'life0, 'life1, 'life2, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;user: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;key: &amp;'life2 <a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life2: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>featch PoWConfig confirms</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#91-876">source</a></span><a href="#impl-MCDatabase" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-MCDatabase" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#106-891">source</a></span><a href="#impl-MCDatabase" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_postgres::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>

View File

@@ -9,5 +9,5 @@
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>database migrations</p>
</div></details><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.migrate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../src/db_core/ops.rs.html#48">source</a></div><h4 class="code-header">fn <a href="#tymethod.migrate" class="fnname">migrate</a>&lt;'life0, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self<br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.61.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.61.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.61.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_postgres::prelude::DBError">DBError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.61.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait, <a class="struct" href="https://doc.rust-lang.org/1.61.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></summary><div class="docblock"><p>database specific error-type
run migrations</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#80-88">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Migrate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_postgres/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_postgres::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_postgres::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_postgres" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.61.0 (fe5b13d68 2022-05-18)" ></div>
</body></html>