Skip to content

Commit

Permalink
Deploying to gh-pages from @ 549f9fb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Oct 24, 2024
1 parent 3300012 commit 94d59fa
Show file tree
Hide file tree
Showing 23 changed files with 96 additions and 35 deletions.
2 changes: 1 addition & 1 deletion presage/all.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions presage/manager/struct.Manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
received by SMS or phone call.</p>
<p>Returns a <a href="struct.Manager.html#method.load_registered" title="associated function presage::manager::Manager::load_registered">registered manager</a> that you can use
to send and receive messages.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Manager%3CS,+Linking%3E" class="impl"><a class="src rightside" href="../../src/presage/manager/linking.rs.html#24-180">source</a><a href="#impl-Manager%3CS,+Linking%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S: <a class="trait" href="../store/trait.Store.html" title="trait presage::store::Store">Store</a>&gt; <a class="struct" href="struct.Manager.html" title="struct presage::manager::Manager">Manager</a>&lt;S, <a class="struct" href="struct.Linking.html" title="struct presage::manager::Linking">Linking</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.link_secondary_device" class="method"><a class="src rightside" href="../../src/presage/manager/linking.rs.html#59-179">source</a><h4 class="code-header">pub async fn <a href="#method.link_secondary_device" class="fn">link_secondary_device</a>(
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Manager%3CS,+Linking%3E" class="impl"><a class="src rightside" href="../../src/presage/manager/linking.rs.html#24-181">source</a><a href="#impl-Manager%3CS,+Linking%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S: <a class="trait" href="../store/trait.Store.html" title="trait presage::store::Store">Store</a>&gt; <a class="struct" href="struct.Manager.html" title="struct presage::manager::Manager">Manager</a>&lt;S, <a class="struct" href="struct.Linking.html" title="struct presage::manager::Linking">Linking</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.link_secondary_device" class="method"><a class="src rightside" href="../../src/presage/manager/linking.rs.html#60-180">source</a><h4 class="code-header">pub async fn <a href="#method.link_secondary_device" class="fn">link_secondary_device</a>(
store: S,
signal_servers: <a class="enum" href="../../libsignal_service/configuration/enum.SignalServers.html" title="enum libsignal_service::configuration::SignalServers">SignalServers</a>,
device_name: <a class="struct" href="https://doc.rust-lang.org/1.82.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
Expand All @@ -21,7 +21,8 @@
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>futures::{channel::oneshot, future, StreamExt};
<span class="kw">use </span>presage::libsignal_service::configuration::SignalServers;
<span class="kw">use </span>presage::Manager;
<span class="kw">use </span>presage_store_sled::{MigrationConflictStrategy, OnNewIdentity, SledStore};
<span class="kw">use </span>presage::model::identity::OnNewIdentity;
<span class="kw">use </span>presage_store_sled::{MigrationConflictStrategy, SledStore};

<span class="attr">#[tokio::main]
</span><span class="kw">async fn </span>main() -&gt; <span class="prelude-ty">Result</span>&lt;(), Box&lt;<span class="kw">dyn </span>std::error::Error&gt;&gt; {
Expand Down Expand Up @@ -146,7 +147,7 @@
device_id: <a class="primitive" href="https://doc.rust-lang.org/1.82.0/std/primitive.i64.html">i64</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.82.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.Error.html" title="enum presage::Error">Error</a>&lt;S::<a class="associatedtype" href="../store/trait.Store.html#associatedtype.Error" title="type presage::store::Store::Error">Error</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>As a primary device, unlink a secondary device.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.devices" class="method"><a class="src rightside" href="../../src/presage/manager/registered.rs.html#1302-1310">source</a><h4 class="code-header">pub async fn <a href="#method.devices" class="fn">devices</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.82.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../libsignal_service/push_service/account/struct.DeviceInfo.html" title="struct libsignal_service::push_service::account::DeviceInfo">DeviceInfo</a>&gt;, <a class="enum" href="../enum.Error.html" title="enum presage::Error">Error</a>&lt;S::<a class="associatedtype" href="../store/trait.Store.html#associatedtype.Error" title="type presage::store::Store::Error">Error</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>As a primary device, list all the devices (including the current device).</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Manager%3CS,+Registration%3E" class="impl"><a class="src rightside" href="../../src/presage/manager/registration.rs.html#27-142">source</a><a href="#impl-Manager%3CS,+Registration%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S: <a class="trait" href="../store/trait.Store.html" title="trait presage::store::Store">Store</a>&gt; <a class="struct" href="struct.Manager.html" title="struct presage::manager::Manager">Manager</a>&lt;S, <a class="struct" href="struct.Registration.html" title="struct presage::manager::Registration">Registration</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.register" class="method"><a class="src rightside" href="../../src/presage/manager/registration.rs.html#63-141">source</a><h4 class="code-header">pub async fn <a href="#method.register" class="fn">register</a>(
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Manager%3CS,+Registration%3E" class="impl"><a class="src rightside" href="../../src/presage/manager/registration.rs.html#27-144">source</a><a href="#impl-Manager%3CS,+Registration%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S: <a class="trait" href="../store/trait.Store.html" title="trait presage::store::Store">Store</a>&gt; <a class="struct" href="struct.Manager.html" title="struct presage::manager::Manager">Manager</a>&lt;S, <a class="struct" href="struct.Registration.html" title="struct presage::manager::Registration">Registration</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.register" class="method"><a class="src rightside" href="../../src/presage/manager/registration.rs.html#65-143">source</a><h4 class="code-header">pub async fn <a href="#method.register" class="fn">register</a>(
store: S,
registration_options: <a class="struct" href="struct.RegistrationOptions.html" title="struct presage::manager::RegistrationOptions">RegistrationOptions</a>&lt;'_&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.Manager.html" title="struct presage::manager::Manager">Manager</a>&lt;S, <a class="struct" href="struct.Confirmation.html" title="struct presage::manager::Confirmation">Confirmation</a>&gt;, <a class="enum" href="../enum.Error.html" title="enum presage::Error">Error</a>&lt;S::<a class="associatedtype" href="../store/trait.Store.html#associatedtype.Error" title="type presage::store::Store::Error">Error</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Registers a new account with a phone number (and some options).</p>
Expand All @@ -160,7 +161,9 @@
};
<span class="kw">use </span>presage::manager::RegistrationOptions;
<span class="kw">use </span>presage::Manager;
<span class="kw">use </span>presage_store_sled::{MigrationConflictStrategy, OnNewIdentity, SledStore};
<span class="kw">use </span>presage::model::identity::OnNewIdentity;

<span class="kw">use </span>presage_store_sled::{MigrationConflictStrategy, SledStore};

<span class="attr">#[tokio::main]
</span><span class="kw">async fn </span>main() -&gt; <span class="prelude-ty">Result</span>&lt;(), Box&lt;<span class="kw">dyn </span>std::error::Error&gt;&gt; {
Expand Down
Loading

0 comments on commit 94d59fa

Please sign in to comment.