Skip to content

Commit

Permalink
Deploying to gh-pages from @ 54327f5 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Jul 8, 2024
1 parent d263079 commit b26dacd
Show file tree
Hide file tree
Showing 450 changed files with 2,281 additions and 2,281 deletions.
2 changes: 1 addition & 1 deletion libsignal_protocol/enum.ContentHint.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions libsignal_protocol/enum.ServiceId.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/kem/enum.KeyType.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.IdentityKey.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.IdentityKeyPair.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.KeyPair.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.KyberPreKeyId.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.PreKeyId.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.PrivateKey.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.PublicKey.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libsignal_protocol/struct.SignedPreKeyId.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions libsignal_protocol/struct.Timestamp.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!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="Equivalent of `SignalServiceCipher::getPreferredProtocolAddress`"><title>get_preferred_protocol_address in libsignal_service::cipher - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="libsignal_service" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0 (129f3b996 2024-06-10)" data-channel="1.79.0" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../libsignal_service/index.html">libsignal_service</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In libsignal_service::cipher</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../libsignal_service/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">libsignal_service</a>::<wbr><a href="index.html">cipher</a>::<wbr><a class="fn" href="#">get_preferred_protocol_address</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/libsignal_service/cipher.rs.html#462-473">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn get_preferred_protocol_address&lt;S: <a class="trait" href="../../libsignal_protocol/storage/traits/trait.SessionStore.html" title="trait libsignal_protocol::storage::traits::SessionStore">SessionStore</a>&gt;(
<!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="Equivalent of `SignalServiceCipher::getPreferredProtocolAddress`"><title>get_preferred_protocol_address in libsignal_service::cipher - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="libsignal_service" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0 (129f3b996 2024-06-10)" data-channel="1.79.0" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../libsignal_service/index.html">libsignal_service</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In libsignal_service::cipher</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../libsignal_service/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">libsignal_service</a>::<wbr><a href="index.html">cipher</a>::<wbr><a class="fn" href="#">get_preferred_protocol_address</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/libsignal_service/cipher.rs.html#462-473">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn get_preferred_protocol_address&lt;S: SessionStore&gt;(
session_store: <a class="primitive" href="https://doc.rust-lang.org/1.79.0/std/primitive.reference.html">&amp;S</a>,
address: &amp;<a class="struct" href="../service_address/struct.ServiceAddress.html" title="struct libsignal_service::service_address::ServiceAddress">ServiceAddress</a>,
device_id: <a class="struct" href="../prelude/struct.DeviceId.html" title="struct libsignal_service::prelude::DeviceId">DeviceId</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.79.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;ProtocolAddress, <a class="enum" href="../../libsignal_protocol/error/enum.SignalProtocolError.html" title="enum libsignal_protocol::error::SignalProtocolError">SignalProtocolError</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Equivalent of <code>SignalServiceCipher::getPreferredProtocolAddress</code></p>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.79.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;ProtocolAddress, SignalProtocolError&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Equivalent of <code>SignalServiceCipher::getPreferredProtocolAddress</code></p>
</div></details></section></div></main></body></html>
4 changes: 2 additions & 2 deletions libsignal_service/cipher/struct.ServiceCipher.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!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="Decrypts incoming messages and encrypts outgoing messages."><title>ServiceCipher in libsignal_service::cipher - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="libsignal_service" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0 (129f3b996 2024-06-10)" data-channel="1.79.0" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../libsignal_service/index.html">libsignal_service</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">ServiceCipher</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.open_envelope">open_envelope</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-ServiceCipher%3CS,+R%3E">Clone</a></li><li><a href="#impl-Debug-for-ServiceCipher%3CS,+R%3E">Debug</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-ServiceCipher%3CS,+R%3E">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-ServiceCipher%3CS,+R%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ServiceCipher%3CS,+R%3E">Send</a></li><li><a href="#impl-Sync-for-ServiceCipher%3CS,+R%3E">Sync</a></li><li><a href="#impl-Unpin-for-ServiceCipher%3CS,+R%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ServiceCipher%3CS,+R%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Instrument-for-T-1">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-IntoEither-for-T">IntoEither</a></li><li><a href="#impl-MaybeSend-for-T">MaybeSend</a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li><li><a href="#impl-WithSubscriber-for-T-1">WithSubscriber</a></li></ul></section><h2><a href="index.html">In libsignal_service::cipher</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../libsignal_service/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">libsignal_service</a>::<wbr><a href="index.html">cipher</a>::<wbr><a class="struct" href="#">ServiceCipher</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/libsignal_service/cipher.rs.html#32-38">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct ServiceCipher&lt;S, R&gt; { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Decrypts incoming messages and encrypts outgoing messages.</p>
<p>Equivalent of SignalServiceCipher in Java.</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-ServiceCipher%3CS,+R%3E" class="impl"><a class="src rightside" href="../../src/libsignal_service/cipher.rs.html#77-401">source</a><a href="#impl-ServiceCipher%3CS,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, R&gt; <a class="struct" href="struct.ServiceCipher.html" title="struct libsignal_service::cipher::ServiceCipher">ServiceCipher</a>&lt;S, R&gt;<div class="where">where
S: <a class="trait" href="../../libsignal_protocol/storage/traits/trait.ProtocolStore.html" title="trait libsignal_protocol::storage::traits::ProtocolStore">ProtocolStore</a> + <a class="trait" href="../../libsignal_protocol/storage/traits/trait.SenderKeyStore.html" title="trait libsignal_protocol::storage::traits::SenderKeyStore">SenderKeyStore</a> + <a class="trait" href="../session_store/trait.SessionStoreExt.html" title="trait libsignal_service::session_store::SessionStoreExt">SessionStoreExt</a> + <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
S: ProtocolStore + SenderKeyStore + <a class="trait" href="../session_store/trait.SessionStoreExt.html" title="trait libsignal_service::session_store::SessionStoreExt">SessionStoreExt</a> + <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
R: <a class="trait" href="https://rust-random.github.io/rand/rand/rng/trait.Rng.html" title="trait rand::rng::Rng">Rng</a> + <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.CryptoRng.html" title="trait rand_core::CryptoRng">CryptoRng</a>,</div></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../src/libsignal_service/cipher.rs.html#82-96">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
protocol_store: S,
csprng: R,
trust_root: <a class="struct" href="../../libsignal_protocol/curve/struct.PublicKey.html" title="struct libsignal_protocol::curve::PublicKey">PublicKey</a>,
trust_root: PublicKey,
local_uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct libsignal_service::prelude::Uuid">Uuid</a>,
local_device_id: <a class="primitive" href="https://doc.rust-lang.org/1.79.0/std/primitive.u32.html">u32</a>
) -&gt; Self</h4></section><details class="toggle method-toggle" open><summary><section id="method.open_envelope" class="method"><a class="src rightside" href="../../src/libsignal_service/cipher.rs.html#101">source</a><h4 class="code-header">pub async fn <a href="#method.open_envelope" class="fn">open_envelope</a>(
Expand Down
Loading

0 comments on commit b26dacd

Please sign in to comment.