mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
Deploying to gh-pages from @ ac502b7c08 🚀
This commit is contained in:
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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="../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -4,8 +4,8 @@
|
||||
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Connect to database</p>
|
||||
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Fresh" class="variant small-section-header"><a href="#variant.Fresh" class="anchor field"></a><code>Fresh(<a class="struct" href="struct.Fresh.html" title="struct db_sqlx_maria::Fresh">Fresh</a>)</code></h3><div class="docblock"><p>fresh connection</p>
|
||||
</div><h3 id="variant.Existing" class="variant small-section-header"><a href="#variant.Existing" class="anchor field"></a><code>Existing(<a class="struct" href="struct.Conn.html" title="struct db_sqlx_maria::Conn">Conn</a>)</code></h3><div class="docblock"><p>existing connection</p>
|
||||
</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Pool" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool" class="anchor"></a><h4 class="code-header">type <a href="prelude/trait.Connect.html#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'><p>database specific pool-type</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.connect" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#68-89">source</a></span><a href="#method.connect" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Connect.html#tymethod.connect" class="fnname">connect</a><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><Self::<a class="associatedtype" href="prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> Self: 'async_trait, </span></h4></section></summary><div class='docblock'><p>database specific error-type
|
||||
</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Connect-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Pool" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pool" class="anchor"></a><h4 class="code-header">type <a href="prelude/trait.Connect.html#associatedtype.Pool" class="associatedtype">Pool</a> = <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'><p>database specific pool-type</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.connect" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#68-86">source</a></span><a href="#method.connect" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Connect.html#tymethod.connect" class="fnname">connect</a><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><Self::<a class="associatedtype" href="prelude/trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> Self: 'async_trait, </span></h4></section></summary><div class='docblock'><p>database specific error-type
|
||||
create connection pool <a href="prelude/trait.Connect.html#tymethod.connect">Read more</a></p>
|
||||
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Send-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Send-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Sync-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Sync-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-Unpin-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-Unpin-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section><section id="impl-UnwindSafe-for-ConnectionOptions" class="impl has-srclink"><a href="#impl-UnwindSafe-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><a href="#impl-Any-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><a href="#impl-Borrow%3CT%3E-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `db_sqlx_maria` crate."><meta name="keywords" content="rust, rustlang, rust-lang, db_sqlx_maria"><title>db_sqlx_maria - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate db_sqlx_maria</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><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></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../db_sqlx_maria/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">db_sqlx_maria</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_maria/lib.rs.html#17-965">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></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_maria::dev mod">dev</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_maria::errors mod">errors</a></div><div class="item-right docblock-short"><p>Error-handling utilities</p>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `db_sqlx_maria` crate."><meta name="keywords" content="rust, rustlang, rust-lang, db_sqlx_maria"><title>db_sqlx_maria - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../db_sqlx_maria/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate db_sqlx_maria</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><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></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../db_sqlx_maria/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">db_sqlx_maria</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_maria/lib.rs.html#17-962">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></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_maria::dev mod">dev</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="errors/index.html" title="db_sqlx_maria::errors mod">errors</a></div><div class="item-right docblock-short"><p>Error-handling utilities</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="prelude/index.html" title="db_sqlx_maria::prelude mod">prelude</a></div><div class="item-right docblock-short"></div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Conn.html" title="db_sqlx_maria::Conn struct">Conn</a></div><div class="item-right docblock-short"><p>Use an existing database pool</p>
|
||||
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Database.html" title="db_sqlx_maria::Database struct">Database</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Fresh.html" title="db_sqlx_maria::Fresh struct">Fresh</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.InnerNotification.html" title="db_sqlx_maria::InnerNotification struct">InnerNotification</a></div><div class="item-right docblock-short"><p>Represents notification</p>
|
||||
</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ConnectionOptions.html" title="db_sqlx_maria::ConnectionOptions enum">ConnectionOptions</a></div><div class="item-right docblock-short"><p>Connect to database</p>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="../struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Debug-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_maria::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#266">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Default-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.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_maria::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#266">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::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.64.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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-Deserialize%3C%27de%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(<br> __deserializer: __D<br>) -> <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.143/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.143/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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#936-946">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#937-945">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#933-943">source</a></span><a href="#impl-From%3CInnerNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::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_maria/lib.rs.html#934-942">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(n: <a class="struct" href="../struct.InnerNotification.html" title="struct db_sqlx_maria::InnerNotification">InnerNotification</a>) -> 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-for-Notification" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_core/lib.rs.html#266">source</a></span><a href="#impl-PartialEq%3CNotification%3E-for-Notification" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>> for <a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::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#266">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.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.64.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#266">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-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_maria::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><'async_trait>(<br> self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="trait.Connect.html#associatedtype.Pool" title="type db_sqlx_maria::prelude::Connect::Pool">Pool</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> Self: 'async_trait, </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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-90">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-ConnectionOptions" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#66-87">source</a></span><a href="#impl-Connect-for-ConnectionOptions" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Connect.html" title="trait db_sqlx_maria::prelude::Connect">Connect</a> for <a class="enum" href="../enum.ConnectionOptions.html" title="enum db_sqlx_maria::ConnectionOptions">ConnectionOptions</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pool-1" class="associatedtype 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_maria::Database">Database</a></h4></section></div></details></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Connect.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -73,4 +73,4 @@ 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#246">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#249">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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#252">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>, <a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></div></summary><div class="docblock"><p>fetch 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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/trait.MCDatabase.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -3,4 +3,4 @@
|
||||
}</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><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.DBError.html" title="enum db_sqlx_maria::prelude::DBError">DBError</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.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.64.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
</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-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="../struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><script type="text/javascript" src="../../implementors/db_core/ops/trait.Migrate.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="db_sqlx_maria" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0 (a55dd71d5 2022-09-19)" ></div></body></html>
|
||||
@@ -2,43 +2,43 @@
|
||||
pub pool: MySqlPool,
|
||||
}</code></pre></div><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.pool" class="structfield small-section-header"><a href="#structfield.pool" class="anchor field"></a><code>pool: MySqlPool</code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#30">source</a></span><a href="#impl-Clone-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#30">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&self) -> <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/clone.rs.html#132-134">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#106-901">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#108-116">source</a></span><a href="#method.ping" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.ping" class="fnname">ping</a><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>ping DB</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.register" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#119-144">source</a></span><a href="#method.register" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.register" class="fnname">register</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.Register.html" title="struct db_sqlx_maria::prelude::Register">Register</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>register a new user</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#147-153">source</a></span><a href="#method.delete_user" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_user" class="fnname">delete_user</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>delete a user</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#156-165">source</a></span><a href="#method.username_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.username_exists" class="fnname">username_exists</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>check if username exists</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#168-182">source</a></span><a href="#method.get_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_email" class="fnname">get_email</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get user email</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#185-194">source</a></span><a href="#method.email_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.email_exists" class="fnname">email_exists</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> email: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>check if email exists</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#197-209">source</a></span><a href="#method.update_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_email" class="fnname">update_email</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.UpdateEmail.html" title="struct db_sqlx_maria::prelude::UpdateEmail">UpdateEmail</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update a user’s email</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#212-244">source</a></span><a href="#method.get_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_password" class="fnname">get_password</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> l: &'life1 <a class="enum" href="prelude/enum.Login.html" title="enum db_sqlx_maria::prelude::Login">Login</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get a user’s password</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#247-259">source</a></span><a href="#method.update_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_password" class="fnname">update_password</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update user’s password</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#262-274">source</a></span><a href="#method.update_username" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_username" class="fnname">update_username</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> current: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> new: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update username</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#277-288">source</a></span><a href="#method.get_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret" class="fnname">get_secret</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get a user’s secret</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#291-304">source</a></span><a href="#method.get_secret_from_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fnname">get_secret_from_captcha</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get a user’s secret from a captcha key</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#307-319">source</a></span><a href="#method.update_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_secret" class="fnname">update_secret</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> secret: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update a user’s secret</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#322-337">source</a></span><a href="#method.create_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_captcha" class="fnname">create_captcha</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> p: &'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>create new captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#340-354">source</a></span><a href="#method.get_captcha_config" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_config" class="fnname">get_captcha_config</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#357-373">source</a></span><a href="#method.get_all_user_captchas" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fnname">get_all_user_captchas</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#376-395">source</a></span><a href="#method.update_captcha_metadata" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fnname">update_captcha_metadata</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> p: &'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesn’t change captcha key</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#398-416">source</a></span><a href="#method.update_captcha_key" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_key" class="fnname">update_captcha_key</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> old_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> new_key: &'life3 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> 'life3: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update captcha key; doesn’t change metadata</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#419-455">source</a></span><a href="#method.add_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fnname">add_captcha_levels</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> levels: &'life3 [<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>]<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> 'life3: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#458-504">source</a></span><a href="#method.captcha_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.captcha_exists" class="fnname">captcha_exists</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#507-528">source</a></span><a href="#method.delete_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fnname">delete_captcha_levels</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#531-544">source</a></span><a href="#method.delete_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha" class="fnname">delete_captcha</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#547-593">source</a></span><a href="#method.get_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fnname">get_captcha_levels</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#596-612">source</a></span><a href="#method.get_captcha_cooldown" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fnname">get_captcha_cooldown</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> captcha_key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get captcha’s cooldown period</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#614-641">source</a></span><a href="#method.add_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fnname">add_traffic_pattern</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> pattern: &'life3 <a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> 'life3: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#644-691">source</a></span><a href="#method.get_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fnname">get_traffic_pattern</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#694-717">source</a></span><a href="#method.delete_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fnname">delete_traffic_pattern</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#720-742">source</a></span><a href="#method.create_notification" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_notification" class="fnname">create_notification</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.AddNotification.html" title="struct db_sqlx_maria::prelude::AddNotification">AddNotification</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>create new notification</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#745-765">source</a></span><a href="#method.get_all_unread_notifications" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fnname">get_all_unread_notifications</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#768-780">source</a></span><a href="#method.mark_notification_read" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.mark_notification_read" class="fnname">mark_notification_read</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> id: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#783-795">source</a></span><a href="#method.record_fetch" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_fetch" class="fnname">record_fetch</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#798-810">source</a></span><a href="#method.record_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_solve" class="fnname">record_solve</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#813-825">source</a></span><a href="#method.record_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_confirm" class="fnname">record_confirm</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#828-851">source</a></span><a href="#method.fetch_config_fetched" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#854-875">source</a></span><a href="#method.fetch_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#878-900">source</a></span><a href="#method.fetch_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#95-103">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#96-102">source</a></span><a href="#method.migrate" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Migrate.html#tymethod.migrate" class="fnname">migrate</a><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class='docblock'><p>database specific error-type
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MCDatabase-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#103-898">source</a></span><a href="#impl-MCDatabase-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.MCDatabase.html" title="trait db_sqlx_maria::prelude::MCDatabase">MCDatabase</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ping" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#105-113">source</a></span><a href="#method.ping" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.ping" class="fnname">ping</a><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>ping DB</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.register" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#116-141">source</a></span><a href="#method.register" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.register" class="fnname">register</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.Register.html" title="struct db_sqlx_maria::prelude::Register">Register</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>register a new user</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_user" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#144-150">source</a></span><a href="#method.delete_user" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_user" class="fnname">delete_user</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>delete a user</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.username_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#153-162">source</a></span><a href="#method.username_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.username_exists" class="fnname">username_exists</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>check if username exists</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#165-179">source</a></span><a href="#method.get_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_email" class="fnname">get_email</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get user email</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.email_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#182-191">source</a></span><a href="#method.email_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.email_exists" class="fnname">email_exists</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> email: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>check if email exists</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_email" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#194-206">source</a></span><a href="#method.update_email" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_email" class="fnname">update_email</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.UpdateEmail.html" title="struct db_sqlx_maria::prelude::UpdateEmail">UpdateEmail</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update a user’s email</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#209-241">source</a></span><a href="#method.get_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_password" class="fnname">get_password</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> l: &'life1 <a class="enum" href="prelude/enum.Login.html" title="enum db_sqlx_maria::prelude::Login">Login</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get a user’s password</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_password" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#244-256">source</a></span><a href="#method.update_password" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_password" class="fnname">update_password</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.NameHash.html" title="struct db_sqlx_maria::prelude::NameHash">NameHash</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update user’s password</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_username" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#259-271">source</a></span><a href="#method.update_username" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_username" class="fnname">update_username</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> current: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> new: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update username</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#274-285">source</a></span><a href="#method.get_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret" class="fnname">get_secret</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get a user’s secret</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_secret_from_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#288-301">source</a></span><a href="#method.get_secret_from_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_secret_from_captcha" class="fnname">get_secret_from_captcha</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.Secret.html" title="struct db_sqlx_maria::prelude::Secret">Secret</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get a user’s secret from a captcha key</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_secret" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#304-316">source</a></span><a href="#method.update_secret" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_secret" class="fnname">update_secret</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> secret: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update a user’s secret</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#319-334">source</a></span><a href="#method.create_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_captcha" class="fnname">create_captcha</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> p: &'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>create new captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#337-351">source</a></span><a href="#method.get_captcha_config" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_config" class="fnname">get_captcha_config</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get captcha config</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_user_captchas" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#354-370">source</a></span><a href="#method.get_all_user_captchas" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_user_captchas" class="fnname">get_all_user_captchas</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="prelude/struct.Captcha.html" title="struct db_sqlx_maria::prelude::Captcha">Captcha</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get all captchas belonging to user</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_metadata" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#373-392">source</a></span><a href="#method.update_captcha_metadata" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_metadata" class="fnname">update_captcha_metadata</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> p: &'life2 <a class="struct" href="prelude/struct.CreateCaptcha.html" title="struct db_sqlx_maria::prelude::CreateCaptcha">CreateCaptcha</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update captcha metadata; doesn’t change captcha key</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_captcha_key" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#395-413">source</a></span><a href="#method.update_captcha_key" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.update_captcha_key" class="fnname">update_captcha_key</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> old_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> new_key: &'life3 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> 'life3: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>update captcha key; doesn’t change metadata</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#416-452">source</a></span><a href="#method.add_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_captcha_levels" class="fnname">add_captcha_levels</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> levels: &'life3 [<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>]<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> 'life3: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Add levels to captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.captcha_exists" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#455-501">source</a></span><a href="#method.captcha_exists" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.captcha_exists" class="fnname">captcha_exists</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>check if captcha exists</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#504-525">source</a></span><a href="#method.delete_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha_levels" class="fnname">delete_captcha_levels</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Delete all levels of a captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_captcha" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#528-541">source</a></span><a href="#method.delete_captcha" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_captcha" class="fnname">delete_captcha</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Delete captcha</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_levels" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#544-590">source</a></span><a href="#method.get_captcha_levels" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_levels" class="fnname">get_captcha_levels</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: <a class="enum" href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="prelude/dev/prelude/struct.Level.html" title="struct db_sqlx_maria::prelude::dev::prelude::Level">Level</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get captcha levels</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_captcha_cooldown" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#593-609">source</a></span><a href="#method.get_captcha_cooldown" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_captcha_cooldown" class="fnname">get_captcha_cooldown</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> captcha_key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get captcha’s cooldown period</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#611-638">source</a></span><a href="#method.add_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.add_traffic_pattern" class="fnname">add_traffic_pattern</a><'life0, 'life1, 'life2, 'life3, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> pattern: &'life3 <a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> 'life3: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Add traffic configuration</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#641-688">source</a></span><a href="#method.get_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_traffic_pattern" class="fnname">get_traffic_pattern</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="prelude/struct.TrafficPattern.html" title="struct db_sqlx_maria::prelude::TrafficPattern">TrafficPattern</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Get traffic configuration</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.delete_traffic_pattern" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#691-714">source</a></span><a href="#method.delete_traffic_pattern" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.delete_traffic_pattern" class="fnname">delete_traffic_pattern</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> captcha_key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>Delete traffic configuration</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.create_notification" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#717-739">source</a></span><a href="#method.create_notification" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.create_notification" class="fnname">create_notification</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> p: &'life1 <a class="struct" href="prelude/struct.AddNotification.html" title="struct db_sqlx_maria::prelude::AddNotification">AddNotification</a><'_><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>create new notification</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_all_unread_notifications" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#742-762">source</a></span><a href="#method.get_all_unread_notifications" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.get_all_unread_notifications" class="fnname">get_all_unread_notifications</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="prelude/struct.Notification.html" title="struct db_sqlx_maria::prelude::Notification">Notification</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>get all unread notifications</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mark_notification_read" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#765-777">source</a></span><a href="#method.mark_notification_read" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.mark_notification_read" class="fnname">mark_notification_read</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> username: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> id: <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i32.html">i32</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>mark a notification read</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_fetch" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#780-792">source</a></span><a href="#method.record_fetch" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_fetch" class="fnname">record_fetch</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>record PoWConfig fetches</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#795-807">source</a></span><a href="#method.record_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_solve" class="fnname">record_solve</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>record PoWConfig solves</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.record_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#810-822">source</a></span><a href="#method.record_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.record_confirm" class="fnname">record_confirm</a><'life0, 'life1, 'async_trait>(<br> &'life0 self,<br> key: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>record PoWConfig confirms</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_config_fetched" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#825-848">source</a></span><a href="#method.fetch_config_fetched" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_config_fetched" class="fnname">fetch_config_fetched</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>fetch PoWConfig fetches</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_solve" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#851-872">source</a></span><a href="#method.fetch_solve" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_solve" class="fnname">fetch_solve</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>fetch PoWConfig solves</p>
|
||||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fetch_confirm" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#875-897">source</a></span><a href="#method.fetch_confirm" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.MCDatabase.html#tymethod.fetch_confirm" class="fnname">fetch_confirm</a><'life0, 'life1, 'life2, 'async_trait>(<br> &'life0 self,<br> user: &'life1 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> key: &'life2 <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.i64.html">i64</a>>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> 'life1: 'async_trait,<br> 'life2: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class="docblock"><p>fetch PoWConfig confirms</p>
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Migrate-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#92-100">source</a></span><a href="#impl-Migrate-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="prelude/trait.Migrate.html" title="trait db_sqlx_maria::prelude::Migrate">Migrate</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.migrate" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/db_sqlx_maria/lib.rs.html#93-99">source</a></span><a href="#method.migrate" class="anchor"></a><h4 class="code-header">fn <a href="prelude/trait.Migrate.html#tymethod.migrate" class="fnname">migrate</a><'life0, 'async_trait>(<br> &'life0 self<br>) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/1.64.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="type" href="prelude/dev/prelude/type.DBResult.html" title="type db_sqlx_maria::prelude::dev::prelude::DBResult">DBResult</a><<a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>>> + <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>> <span class="where fmt-newline">where<br> 'life0: 'async_trait,<br> Self: 'async_trait, </span></h4></section></summary><div class='docblock'><p>database specific error-type
|
||||
run migrations <a href="prelude/trait.Migrate.html#tymethod.migrate">Read more</a></p>
|
||||
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Database" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-Database" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-Send-for-Database" class="impl has-srclink"><a href="#impl-Send-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-Sync-for-Database" class="impl has-srclink"><a href="#impl-Sync-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-Unpin-for-Database" class="impl has-srclink"><a href="#impl-Unpin-for-Database" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section><section id="impl-UnwindSafe-for-Database" class="impl has-srclink"><a href="#impl-UnwindSafe-for-Database" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Database.html" title="struct db_sqlx_maria::Database">Database</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><a href="#impl-Any-for-Database" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Database" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><a href="#impl-Borrow%3CT%3E-for-Database" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user