mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 16:03:05 +00:00
deploy: 2ba197095627a65fc4e32987021cab0a9ffa19b6
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -149,7 +149,7 @@ builds.</div></details></div></details><details class="toggle implementors-toggl
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.202/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RpcError-for-T" class="impl"><a href="#impl-RpcError-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcError for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RpcMessage-for-T" class="impl"><a href="#impl-RpcMessage-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcMessage for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||||
|
||||
@@ -166,7 +166,7 @@ letters are used (e.g. <code>F9B4CA</code>)</div></details></div></details><deta
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.202/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RpcError-for-T" class="impl"><a href="#impl-RpcError-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcError for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RpcMessage-for-T" class="impl"><a href="#impl-RpcMessage-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcMessage for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -174,7 +174,7 @@ letters are used (e.g. <code>F9B4CA</code>)</div></details></div></details><deta
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.202/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RpcError-for-T" class="impl"><a href="#impl-RpcError-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcError for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RpcMessage-for-T" class="impl"><a href="#impl-RpcMessage-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcMessage for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||||
|
||||
@@ -149,7 +149,7 @@ builds.</div></details></div></details><details class="toggle implementors-toggl
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.202/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RpcError-for-T" class="impl"><a href="#impl-RpcError-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcError for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RpcMessage-for-T" class="impl"><a href="#impl-RpcMessage-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcMessage for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||||
|
||||
@@ -145,7 +145,7 @@ builds.</div></details></div></details><details class="toggle implementors-toggl
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.202/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../../../../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RpcMessage-for-T" class="impl"><a href="#impl-RpcMessage-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcMessage for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></div></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
<!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="Handle a single connection."><title>handle_connection in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">handle_connection</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/iroh_blobs/provider.rs.html#283-288">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn handle_connection<D, E>(
|
||||
<!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="Handle a single connection."><title>handle_connection in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">handle_connection</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/iroh_blobs/provider.rs.html#383-388">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn handle_connection<D>(
|
||||
connection: <a class="struct" href="../../net/endpoint/struct.Connection.html" title="struct iroh::net::endpoint::Connection">Connection</a>,
|
||||
db: D,
|
||||
events: E,
|
||||
events: <a class="struct" href="struct.EventSender.html" title="struct iroh::blobs::provider::EventSender">EventSender</a>,
|
||||
rt: <a class="struct" href="../util/local_pool/struct.LocalPoolHandle.html" title="struct iroh::blobs::util::local_pool::LocalPoolHandle">LocalPoolHandle</a>
|
||||
)<div class="where">where
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,
|
||||
E: <a class="trait" href="trait.EventSender.html" title="trait iroh::blobs::provider::EventSender">EventSender</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handle a single connection.</p>
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handle a single connection.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<!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="Handle a single standard get request."><title>handle_get in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">handle_get</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/iroh_blobs/provider.rs.html#340-344">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn handle_get<D, E>(
|
||||
<!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="Handle a single standard get request."><title>handle_get in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">handle_get</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/iroh_blobs/provider.rs.html#438-442">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn handle_get<D>(
|
||||
db: D,
|
||||
request: <a class="struct" href="../protocol/struct.GetRequest.html" title="struct iroh::blobs::protocol::GetRequest">GetRequest</a>,
|
||||
writer: <a class="struct" href="struct.ResponseWriter.html" title="struct iroh::blobs::provider::ResponseWriter">ResponseWriter</a><E>
|
||||
writer: <a class="struct" href="struct.ResponseWriter.html" title="struct iroh::blobs::provider::ResponseWriter">ResponseWriter</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,
|
||||
E: <a class="trait" href="trait.EventSender.html" title="trait iroh::blobs::provider::EventSender">EventSender</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handle a single standard get request.</p>
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handle a single standard get request.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -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="Read the request from the getter."><title>read_request in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">read_request</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/iroh_blobs/provider.rs.html#162">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn read_request(reader: <a class="struct" href="../../net/endpoint/struct.RecvStream.html" title="struct iroh::net::endpoint::RecvStream">RecvStream</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../protocol/enum.Request.html" title="enum iroh::blobs::protocol::Request">Request</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Read the request from the getter.</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="Read the request from the getter."><title>read_request in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">read_request</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/iroh_blobs/provider.rs.html#168">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn read_request(reader: <a class="struct" href="../../net/endpoint/struct.RecvStream.html" title="struct iroh::net::endpoint::RecvStream">RecvStream</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../protocol/enum.Request.html" title="enum iroh::blobs::protocol::Request">Request</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Read the request from the getter.</p>
|
||||
<p>Will fail if there is an error while reading, if the reader
|
||||
contains more data than the Request, or if no valid request is sent.</p>
|
||||
<p>When successful, the buffer is empty after this function call.</p>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
<!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="Send a blob to the client."><title>send_blob in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">send_blob</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/iroh_blobs/provider.rs.html#484-489">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn send_blob<D, W>(
|
||||
<!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="Send a blob to the client."><title>send_blob in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">send_blob</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/iroh_blobs/provider.rs.html#582-589">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn send_blob<D, W>(
|
||||
db: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&D</a>,
|
||||
hash: <a class="struct" href="../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>,
|
||||
ranges: &<a class="struct" href="../protocol/struct.RangeSpec.html" title="struct iroh::blobs::protocol::RangeSpec">RangeSpec</a>,
|
||||
writer: W
|
||||
writer: W,
|
||||
events: <a class="struct" href="struct.EventSender.html" title="struct iroh::blobs::provider::EventSender">EventSender</a>,
|
||||
mk_progress: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="enum" href="enum.SentStatus.html" title="enum iroh::blobs::provider::SentStatus">SentStatus</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, SliceReaderStats), <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,
|
||||
W: AsyncStreamWriter,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Send a blob to the client.</p>
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
<!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="Transfers the collection & blob data."><title>transfer_collection in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">transfer_collection</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/iroh_blobs/provider.rs.html#182-192">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn transfer_collection<D, E>(
|
||||
<!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="Transfers the collection & blob data."><title>transfer_collection in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="fn" href="#">transfer_collection</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/iroh_blobs/provider.rs.html#188-198">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn transfer_collection<D>(
|
||||
request: <a class="struct" href="../protocol/struct.GetRequest.html" title="struct iroh::blobs::protocol::GetRequest">GetRequest</a>,
|
||||
db: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&D</a>,
|
||||
writer: &mut <a class="struct" href="struct.ResponseWriter.html" title="struct iroh::blobs::provider::ResponseWriter">ResponseWriter</a><E>,
|
||||
writer: &mut <a class="struct" href="struct.ResponseWriter.html" title="struct iroh::blobs::provider::ResponseWriter">ResponseWriter</a>,
|
||||
outboard: impl <a class="trait" href="../store/bao_tree/io/fsm/trait.Outboard.html" title="trait iroh::blobs::store::bao_tree::io::fsm::Outboard">Outboard</a>,
|
||||
data: impl <a class="trait" href="../store/bao_tree/io/fsm/trait.AsyncSliceReader.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceReader">AsyncSliceReader</a>,
|
||||
stats: &mut <a class="struct" href="struct.TransferStats.html" title="struct iroh::blobs::provider::TransferStats">TransferStats</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="enum.SentStatus.html" title="enum iroh::blobs::provider::SentStatus">SentStatus</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,
|
||||
E: <a class="trait" href="trait.EventSender.html" title="trait iroh::blobs::provider::EventSender">EventSender</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transfers the collection & blob data.</p>
|
||||
D: <a class="trait" href="../store/trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transfers the collection & blob data.</p>
|
||||
<p>First, it transfers the collection data & its associated outboard encoding data. Then it sequentially transfers each individual blob data & its associated outboard
|
||||
encoding data.</p>
|
||||
<p>Will fail if there is an error writing to the getter or reading from
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<!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="The server side API"><title>iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module provider</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::blobs</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a class="mod" href="#">provider</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/iroh_blobs/lib.rs.html#14">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The server side API</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.ResponseWriter.html" title="struct iroh::blobs::provider::ResponseWriter">ResponseWriter</a></div><div class="desc docblock-short">A helper struct that combines a quinn::SendStream with auxiliary information</div></li><li><div class="item-name"><a class="struct" href="struct.TransferStats.html" title="struct iroh::blobs::provider::TransferStats">TransferStats</a></div><div class="desc docblock-short">The stats for a transfer of a collection or blob.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.AddProgress.html" title="enum iroh::blobs::provider::AddProgress">AddProgress</a></div><div class="desc docblock-short">Progress updates for the add operation.</div></li><li><div class="item-name"><a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a></div><div class="desc docblock-short">Events emitted by the provider informing about the current status.</div></li><li><div class="item-name"><a class="enum" href="enum.SentStatus.html" title="enum iroh::blobs::provider::SentStatus">SentStatus</a></div><div class="desc docblock-short">Status of a send operation</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.EventSender.html" title="trait iroh::blobs::provider::EventSender">EventSender</a></div><div class="desc docblock-short">Trait for sending events.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.handle_connection.html" title="fn iroh::blobs::provider::handle_connection">handle_connection</a></div><div class="desc docblock-short">Handle a single connection.</div></li><li><div class="item-name"><a class="fn" href="fn.handle_get.html" title="fn iroh::blobs::provider::handle_get">handle_get</a></div><div class="desc docblock-short">Handle a single standard get request.</div></li><li><div class="item-name"><a class="fn" href="fn.read_request.html" title="fn iroh::blobs::provider::read_request">read_request</a></div><div class="desc docblock-short">Read the request from the getter.</div></li><li><div class="item-name"><a class="fn" href="fn.send_blob.html" title="fn iroh::blobs::provider::send_blob">send_blob</a></div><div class="desc docblock-short">Send a blob to the client.</div></li><li><div class="item-name"><a class="fn" href="fn.transfer_collection.html" title="fn iroh::blobs::provider::transfer_collection">transfer_collection</a></div><div class="desc docblock-short">Transfers the collection & blob data.</div></li></ul></section></div></main></body></html>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.EventSender.html" title="struct iroh::blobs::provider::EventSender">EventSender</a></div><div class="desc docblock-short">A possibly disabled sender for events.</div></li><li><div class="item-name"><a class="struct" href="struct.ResponseWriter.html" title="struct iroh::blobs::provider::ResponseWriter">ResponseWriter</a></div><div class="desc docblock-short">A helper struct that combines a quinn::SendStream with auxiliary information</div></li><li><div class="item-name"><a class="struct" href="struct.TransferStats.html" title="struct iroh::blobs::provider::TransferStats">TransferStats</a></div><div class="desc docblock-short">The stats for a transfer of a collection or blob.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.AddProgress.html" title="enum iroh::blobs::provider::AddProgress">AddProgress</a></div><div class="desc docblock-short">Progress updates for the add operation.</div></li><li><div class="item-name"><a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a></div><div class="desc docblock-short">Events emitted by the provider informing about the current status.</div></li><li><div class="item-name"><a class="enum" href="enum.SentStatus.html" title="enum iroh::blobs::provider::SentStatus">SentStatus</a></div><div class="desc docblock-short">Status of a send operation</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.CustomEventSender.html" title="trait iroh::blobs::provider::CustomEventSender">CustomEventSender</a></div><div class="desc docblock-short">Trait for sending blob events.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.handle_connection.html" title="fn iroh::blobs::provider::handle_connection">handle_connection</a></div><div class="desc docblock-short">Handle a single connection.</div></li><li><div class="item-name"><a class="fn" href="fn.handle_get.html" title="fn iroh::blobs::provider::handle_get">handle_get</a></div><div class="desc docblock-short">Handle a single standard get request.</div></li><li><div class="item-name"><a class="fn" href="fn.read_request.html" title="fn iroh::blobs::provider::read_request">read_request</a></div><div class="desc docblock-short">Read the request from the getter.</div></li><li><div class="item-name"><a class="fn" href="fn.send_blob.html" title="fn iroh::blobs::provider::send_blob">send_blob</a></div><div class="desc docblock-short">Send a blob to the client.</div></li><li><div class="item-name"><a class="fn" href="fn.transfer_collection.html" title="fn iroh::blobs::provider::transfer_collection">transfer_collection</a></div><div class="desc docblock-short">Transfers the collection & blob data.</div></li></ul></section></div></main></body></html>
|
||||
@@ -1 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"enum":["AddProgress","Event","SentStatus"],"fn":["handle_connection","handle_get","read_request","send_blob","transfer_collection"],"struct":["ResponseWriter","TransferStats"],"trait":["EventSender"]};
|
||||
window.SIDEBAR_ITEMS = {"enum":["AddProgress","Event","SentStatus"],"fn":["handle_connection","handle_get","read_request","send_blob","transfer_collection"],"struct":["EventSender","ResponseWriter","TransferStats"],"trait":["CustomEventSender"]};
|
||||
+13
-14
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
<!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="Trait for sending blob events."><title>CustomEventSender in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 trait"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">CustomEventSender</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.send">send</a></li><li><a href="#tymethod.try_send">try_send</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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>Trait <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="trait" href="#">CustomEventSender</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/iroh_blobs/provider.rs.html#329">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait CustomEventSender: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static {
|
||||
// Required methods
|
||||
fn <a href="#tymethod.send" class="fn">send</a>(&self, event: <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.try_send" class="fn">try_send</a>(&self, event: <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>);
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for sending blob events.</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.send" class="method"><a class="src rightside" href="../../../src/iroh_blobs/provider.rs.html#331">source</a><h4 class="code-header">fn <a href="#tymethod.send" class="fn">send</a>(&self, event: <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class="docblock"><p>Send an event and wait for it to be sent.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.try_send" class="method"><a class="src rightside" href="../../../src/iroh_blobs/provider.rs.html#334">source</a><h4 class="code-header">fn <a href="#tymethod.try_send" class="fn">try_send</a>(&self, event: <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>)</h4></section></summary><div class="docblock"><p>Try to send an event.</p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../trait.impl/iroh_blobs/provider/trait.CustomEventSender.js" async></script></section></div></main></body></html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<!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="Trait for sending events."><title>EventSender in iroh::blobs::provider - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 trait"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">EventSender</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.send">send</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::blobs::provider</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="../../../iroh/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>Trait <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">provider</a>::<wbr><a class="trait" href="#">EventSender</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/iroh_blobs/provider.rs.html#277">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait EventSender: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static {
|
||||
// Required method
|
||||
fn <a href="#tymethod.send" class="fn">send</a>(&self, event: <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for sending events.</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.send" class="method"><a class="src rightside" href="../../../src/iroh_blobs/provider.rs.html#279">source</a><h4 class="code-header">fn <a href="#tymethod.send" class="fn">send</a>(&self, event: <a class="enum" href="enum.Event.html" title="enum iroh::blobs::provider::Event">Event</a>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>></h4></section></summary><div class="docblock"><p>Send an event.</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../trait.impl/iroh_blobs/provider/trait.EventSender.js" async></script></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -55,8 +55,8 @@ Other than that it is equivalent to <a href="trait.AsyncSliceWriter.html#tymetho
|
||||
data: Bytes
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section><section id="method.set_len-3" class="method trait-impl"><a href="#method.set_len-3" class="anchor">§</a><h4 class="code-header">async fn <a href="#tymethod.set_len" class="fn">set_len</a>(&mut self, len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section><section id="method.sync-3" class="method trait-impl"><a href="#method.sync-3" class="anchor">§</a><h4 class="code-header">async fn <a href="#tymethod.sync" class="fn">sync</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-AsyncSliceWriter-for-File" class="impl"><a href="#impl-AsyncSliceWriter-for-File" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for File</h3></section><section id="impl-AsyncSliceWriter-for-ConcatenateSliceWriter%3CW%3E" class="impl"><a href="#impl-AsyncSliceWriter-for-ConcatenateSliceWriter%3CW%3E" class="anchor">§</a><h3 class="code-header">impl<W> <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for ConcatenateSliceWriter<W><div class="where">where
|
||||
W: AsyncWrite + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-AsyncSliceWriter-for-TrackingSliceWriter%3CW%3E" class="impl"><a href="#impl-AsyncSliceWriter-for-TrackingSliceWriter%3CW%3E" class="anchor">§</a><h3 class="code-header">impl<W> <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for TrackingSliceWriter<W><div class="where">where
|
||||
W: <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a>,</div></h3></section><section id="impl-AsyncSliceWriter-for-FallibleProgressSliceWriter%3CW,+F%3E" class="impl"><a class="src rightside" href="../../../../../../src/iroh_blobs/util/progress.rs.html#702-703">source</a><a href="#impl-AsyncSliceWriter-for-FallibleProgressSliceWriter%3CW,+F%3E" class="anchor">§</a><h3 class="code-header">impl<W, F> <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for <a class="struct" href="../../../../util/progress/struct.FallibleProgressSliceWriter.html" title="struct iroh::blobs::util::progress::FallibleProgressSliceWriter">FallibleProgressSliceWriter</a><W, F><div class="where">where
|
||||
W: <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a>,</div></h3></section><section id="impl-AsyncSliceWriter-for-FallibleProgressSliceWriter%3CW,+F%3E" class="impl"><a class="src rightside" href="../../../../../../src/iroh_blobs/util/progress.rs.html#631-632">source</a><a href="#impl-AsyncSliceWriter-for-FallibleProgressSliceWriter%3CW,+F%3E" class="anchor">§</a><h3 class="code-header">impl<W, F> <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for <a class="struct" href="../../../../util/progress/struct.FallibleProgressSliceWriter.html" title="struct iroh::blobs::util::progress::FallibleProgressSliceWriter">FallibleProgressSliceWriter</a><W, F><div class="where">where
|
||||
W: <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> + 'static,
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>> + 'static,</div></h3></section><section id="impl-AsyncSliceWriter-for-ProgressSliceWriter%3CW,+F%3E" class="impl"><a class="src rightside" href="../../../../../../src/iroh_blobs/util/progress.rs.html#654-655">source</a><a href="#impl-AsyncSliceWriter-for-ProgressSliceWriter%3CW,+F%3E" class="anchor">§</a><h3 class="code-header">impl<W, F> <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for <a class="struct" href="../../../../util/progress/struct.ProgressSliceWriter.html" title="struct iroh::blobs::util::progress::ProgressSliceWriter">ProgressSliceWriter</a><W, F><div class="where">where
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>> + 'static,</div></h3></section><section id="impl-AsyncSliceWriter-for-ProgressSliceWriter%3CW,+F%3E" class="impl"><a class="src rightside" href="../../../../../../src/iroh_blobs/util/progress.rs.html#583-584">source</a><a href="#impl-AsyncSliceWriter-for-ProgressSliceWriter%3CW,+F%3E" class="anchor">§</a><h3 class="code-header">impl<W, F> <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> for <a class="struct" href="../../../../util/progress/struct.ProgressSliceWriter.html" title="struct iroh::blobs::util::progress::ProgressSliceWriter">ProgressSliceWriter</a><W, F><div class="where">where
|
||||
W: <a class="trait" href="trait.AsyncSliceWriter.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceWriter">AsyncSliceWriter</a> + 'static,
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) + 'static,</div></h3></section></div><script src="../../../../../../trait.impl/iroh_io/trait.AsyncSliceWriter.js" data-ignore-extern-crates="alloc,iroh_blobs,iroh_io,bytes" async></script></section></div></main></body></html>
|
||||
@@ -23,54 +23,54 @@ entries.</p>
|
||||
&self,
|
||||
paths: <a class="struct" href="struct.FlatStorePaths.html" title="struct iroh::blobs::store::fs::FlatStorePaths">FlatStorePaths</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class="docblock"><p>Import from a v0 or v1 flat store, for backwards compatibility.</p>
|
||||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#impl-Clone-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#impl-Debug-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Map-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1277">source</a><a href="#impl-Map-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Entry" class="associatedtype trait-impl"><a href="#associatedtype.Entry" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Map.html#associatedtype.Entry" class="associatedtype">Entry</a> = BaoFileHandle</h4></section></summary><div class='docblock'>The entry type. An entry is a cheaply cloneable handle that can be used
|
||||
to open readers for both the data and the outboard</div></details><details class="toggle method-toggle" open><summary><section id="method.get" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1280">source</a><a href="#method.get" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Map.html#tymethod.get" class="fn">get</a>(&self, hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>>::<a class="associatedtype" href="../trait.Map.html#associatedtype.Entry" title="type iroh::blobs::store::Map::Entry">Entry</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Get an entry for a hash. <a href="../trait.Map.html#tymethod.get">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MapMut-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1285">source</a><a href="#impl-MapMut-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.EntryMut" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut" class="anchor">§</a><h4 class="code-header">type <a href="../trait.MapMut.html#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = BaoFileHandle</h4></section></summary><div class='docblock'>An entry that is possibly writable</div></details><details class="toggle method-toggle" open><summary><section id="method.get_or_create" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1288">source</a><a href="#method.get_or_create" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.get_or_create" class="fn">get_or_create</a>(
|
||||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#impl-Clone-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#impl-Debug-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#714">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Map-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1269">source</a><a href="#impl-Map-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Entry" class="associatedtype trait-impl"><a href="#associatedtype.Entry" class="anchor">§</a><h4 class="code-header">type <a href="../trait.Map.html#associatedtype.Entry" class="associatedtype">Entry</a> = BaoFileHandle</h4></section></summary><div class='docblock'>The entry type. An entry is a cheaply cloneable handle that can be used
|
||||
to open readers for both the data and the outboard</div></details><details class="toggle method-toggle" open><summary><section id="method.get" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1272">source</a><a href="#method.get" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Map.html#tymethod.get" class="fn">get</a>(&self, hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.Map.html" title="trait iroh::blobs::store::Map">Map</a>>::<a class="associatedtype" href="../trait.Map.html#associatedtype.Entry" title="type iroh::blobs::store::Map::Entry">Entry</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Get an entry for a hash. <a href="../trait.Map.html#tymethod.get">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MapMut-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1277">source</a><a href="#impl-MapMut-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.EntryMut" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut" class="anchor">§</a><h4 class="code-header">type <a href="../trait.MapMut.html#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = BaoFileHandle</h4></section></summary><div class='docblock'>An entry that is possibly writable</div></details><details class="toggle method-toggle" open><summary><section id="method.get_or_create" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1280">source</a><a href="#method.get_or_create" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.get_or_create" class="fn">get_or_create</a>(
|
||||
&self,
|
||||
hash: <a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>,
|
||||
_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a>>::<a class="associatedtype" href="../trait.MapMut.html#associatedtype.EntryMut" title="type iroh::blobs::store::MapMut::EntryMut">EntryMut</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Get an existing partial entry, or create a new one. <a href="../trait.MapMut.html#tymethod.get_or_create">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.entry_status" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1292">source</a><a href="#method.entry_status" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.entry_status" class="fn">entry_status</a>(&self, hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../enum.EntryStatus.html" title="enum iroh::blobs::store::EntryStatus">EntryStatus</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Find out if the data behind a <code>hash</code> is complete, partial, or not present. <a href="../trait.MapMut.html#tymethod.entry_status">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_mut" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1296">source</a><a href="#method.get_mut" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.get_mut" class="fn">get_mut</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a>>::<a class="associatedtype" href="../trait.MapMut.html#associatedtype.EntryMut" title="type iroh::blobs::store::MapMut::EntryMut">EntryMut</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Get an existing partial entry, or create a new one. <a href="../trait.MapMut.html#tymethod.get_or_create">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.entry_status" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1284">source</a><a href="#method.entry_status" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.entry_status" class="fn">entry_status</a>(&self, hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../enum.EntryStatus.html" title="enum iroh::blobs::store::EntryStatus">EntryStatus</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Find out if the data behind a <code>hash</code> is complete, partial, or not present. <a href="../trait.MapMut.html#tymethod.entry_status">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_mut" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1288">source</a><a href="#method.get_mut" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.get_mut" class="fn">get_mut</a>(
|
||||
&self,
|
||||
hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a>>::<a class="associatedtype" href="../trait.MapMut.html#associatedtype.EntryMut" title="type iroh::blobs::store::MapMut::EntryMut">EntryMut</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Get an existing entry as an EntryMut. <a href="../trait.MapMut.html#tymethod.get_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_complete" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1300">source</a><a href="#method.insert_complete" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.insert_complete" class="fn">insert_complete</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a>>::<a class="associatedtype" href="../trait.MapMut.html#associatedtype.EntryMut" title="type iroh::blobs::store::MapMut::EntryMut">EntryMut</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Get an existing entry as an EntryMut. <a href="../trait.MapMut.html#tymethod.get_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_complete" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1292">source</a><a href="#method.insert_complete" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.MapMut.html#tymethod.insert_complete" class="fn">insert_complete</a>(
|
||||
&self,
|
||||
entry: <<a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a> as <a class="trait" href="../trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a>>::<a class="associatedtype" href="../trait.MapMut.html#associatedtype.EntryMut" title="type iroh::blobs::store::MapMut::EntryMut">EntryMut</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Upgrade a partial entry to a complete entry.</div></details><details class="toggle method-toggle" open><summary><section id="method.entry_status_sync" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1304">source</a><a href="#method.entry_status_sync" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.MapMut.html#tymethod.entry_status_sync" class="fn">entry_status_sync</a>(&self, hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../enum.EntryStatus.html" title="enum iroh::blobs::store::EntryStatus">EntryStatus</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Sync version of <code>entry_status</code>, for the doc sync engine until we can get rid of it. <a href="../trait.MapMut.html#tymethod.entry_status_sync">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ReadableStore-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1309">source</a><a href="#impl-ReadableStore-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.blobs" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1310">source</a><a href="#method.blobs" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.blobs" class="fn">blobs</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Upgrade a partial entry to a complete entry.</div></details><details class="toggle method-toggle" open><summary><section id="method.entry_status_sync" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1296">source</a><a href="#method.entry_status_sync" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.MapMut.html#tymethod.entry_status_sync" class="fn">entry_status_sync</a>(&self, hash: &<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../enum.EntryStatus.html" title="enum iroh::blobs::store::EntryStatus">EntryStatus</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Sync version of <code>entry_status</code>, for the doc sync engine until we can get rid of it. <a href="../trait.MapMut.html#tymethod.entry_status_sync">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ReadableStore-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1301">source</a><a href="#impl-ReadableStore-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.blobs" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1302">source</a><a href="#method.blobs" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.blobs" class="fn">blobs</a>(
|
||||
&self
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>list all blobs in the database. This includes both raw blobs that have
|
||||
been imported, and hash sequences that have been created internally.</div></details><details class="toggle method-toggle" open><summary><section id="method.partial_blobs" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1314">source</a><a href="#method.partial_blobs" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.partial_blobs" class="fn">partial_blobs</a>(
|
||||
been imported, and hash sequences that have been created internally.</div></details><details class="toggle method-toggle" open><summary><section id="method.partial_blobs" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1306">source</a><a href="#method.partial_blobs" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.partial_blobs" class="fn">partial_blobs</a>(
|
||||
&self
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>list partial blobs in the database</div></details><details class="toggle method-toggle" open><summary><section id="method.tags" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1318">source</a><a href="#method.tags" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.tags" class="fn">tags</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>list partial blobs in the database</div></details><details class="toggle method-toggle" open><summary><section id="method.tags" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1310">source</a><a href="#method.tags" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.tags" class="fn">tags</a>(
|
||||
&self
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../../struct.Tag.html" title="struct iroh::blobs::Tag">Tag</a>, <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>), <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>list all tags (collections or other explicitly added things) in the database</div></details><details class="toggle method-toggle" open><summary><section id="method.temp_tags" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1322">source</a><a href="#method.temp_tags" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.ReadableStore.html#tymethod.temp_tags" class="fn">temp_tags</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Temp tags</div></details><details class="toggle method-toggle" open><summary><section id="method.consistency_check" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1326-1330">source</a><a href="#method.consistency_check" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.consistency_check" class="fn">consistency_check</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../../struct.Tag.html" title="struct iroh::blobs::Tag">Tag</a>, <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>), <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>list all tags (collections or other explicitly added things) in the database</div></details><details class="toggle method-toggle" open><summary><section id="method.temp_tags" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1314">source</a><a href="#method.temp_tags" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.ReadableStore.html#tymethod.temp_tags" class="fn">temp_tags</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Temp tags</div></details><details class="toggle method-toggle" open><summary><section id="method.consistency_check" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1318-1322">source</a><a href="#method.consistency_check" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.consistency_check" class="fn">consistency_check</a>(
|
||||
&self,
|
||||
repair: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
tx: <a class="struct" href="../../util/progress/struct.BoxedProgressSender.html" title="struct iroh::blobs::util::progress::BoxedProgressSender">BoxedProgressSender</a><<a class="enum" href="../enum.ConsistencyCheckProgress.html" title="enum iroh::blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Perform a consistency check on the database</div></details><details class="toggle method-toggle" open><summary><section id="method.export" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1335-1341">source</a><a href="#method.export" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.export" class="fn">export</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Perform a consistency check on the database</div></details><details class="toggle method-toggle" open><summary><section id="method.export" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1327-1333">source</a><a href="#method.export" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.ReadableStore.html#tymethod.export" class="fn">export</a>(
|
||||
&self,
|
||||
hash: <a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>,
|
||||
target: <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>,
|
||||
mode: <a class="enum" href="../enum.ExportMode.html" title="enum iroh::blobs::store::ExportMode">ExportMode</a>,
|
||||
progress: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>This trait method extracts a file to a local path. <a href="../trait.ReadableStore.html#tymethod.export">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Store-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1346">source</a><a href="#impl-Store-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.import_file" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1347-1353">source</a><a href="#method.import_file" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.import_file" class="fn">import_file</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>This trait method extracts a file to a local path. <a href="../trait.ReadableStore.html#tymethod.export">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Store-for-Store" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1338">source</a><a href="#impl-Store-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for <a class="struct" href="struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.import_file" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1339-1345">source</a><a href="#method.import_file" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.import_file" class="fn">import_file</a>(
|
||||
&self,
|
||||
path: <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>,
|
||||
mode: <a class="enum" href="../enum.ImportMode.html" title="enum iroh::blobs::store::ImportMode">ImportMode</a>,
|
||||
format: <a class="enum" href="../../enum.BlobFormat.html" title="enum iroh::blobs::BlobFormat">BlobFormat</a>,
|
||||
progress: impl <a class="trait" href="../../util/progress/trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a><Msg = <a class="enum" href="../enum.ImportProgress.html" title="enum iroh::blobs::store::ImportProgress">ImportProgress</a>> + <a class="trait" href="../../util/progress/trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>), <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>This trait method imports a file from a local path. <a href="../trait.Store.html#tymethod.import_file">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.import_bytes" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1363-1367">source</a><a href="#method.import_bytes" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.import_bytes" class="fn">import_bytes</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>), <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>This trait method imports a file from a local path. <a href="../trait.Store.html#tymethod.import_file">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.import_bytes" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1355-1359">source</a><a href="#method.import_bytes" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.import_bytes" class="fn">import_bytes</a>(
|
||||
&self,
|
||||
data: Bytes,
|
||||
format: <a class="enum" href="../../enum.BlobFormat.html" title="enum iroh::blobs::BlobFormat">BlobFormat</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Import data from memory. <a href="../trait.Store.html#tymethod.import_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.import_stream" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1372-1377">source</a><a href="#method.import_stream" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.import_stream" class="fn">import_stream</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Import data from memory. <a href="../trait.Store.html#tymethod.import_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.import_stream" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1364-1369">source</a><a href="#method.import_stream" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.import_stream" class="fn">import_stream</a>(
|
||||
&self,
|
||||
data: impl Stream<Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Bytes, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,
|
||||
format: <a class="enum" href="../../enum.BlobFormat.html" title="enum iroh::blobs::BlobFormat">BlobFormat</a>,
|
||||
progress: impl <a class="trait" href="../../util/progress/trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a><Msg = <a class="enum" href="../enum.ImportProgress.html" title="enum iroh::blobs::store::ImportProgress">ImportProgress</a>> + <a class="trait" href="../../util/progress/trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>), <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Import data from a stream of bytes.</div></details><details class="toggle method-toggle" open><summary><section id="method.set_tag" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1405">source</a><a href="#method.set_tag" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.set_tag" class="fn">set_tag</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>), <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Import data from a stream of bytes.</div></details><details class="toggle method-toggle" open><summary><section id="method.set_tag" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1397">source</a><a href="#method.set_tag" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.set_tag" class="fn">set_tag</a>(
|
||||
&self,
|
||||
name: <a class="struct" href="../../struct.Tag.html" title="struct iroh::blobs::Tag">Tag</a>,
|
||||
hash: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Set a tag</div></details><details class="toggle method-toggle" open><summary><section id="method.create_tag" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1409">source</a><a href="#method.create_tag" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.create_tag" class="fn">create_tag</a>(&self, hash: <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.Tag.html" title="struct iroh::blobs::Tag">Tag</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Create a new tag</div></details><details class="toggle method-toggle" open><summary><section id="method.delete" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1413">source</a><a href="#method.delete" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.delete" class="fn">delete</a>(&self, hashes: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>physically delete the given hashes from the store.</div></details><details class="toggle method-toggle" open><summary><section id="method.gc_start" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1417">source</a><a href="#method.gc_start" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.gc_start" class="fn">gc_start</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Notify the store that a new gc phase is about to start. <a href="../trait.Store.html#tymethod.gc_start">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.temp_tag" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1422">source</a><a href="#method.temp_tag" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Store.html#tymethod.temp_tag" class="fn">temp_tag</a>(&self, value: <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>) -> <a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a></h4></section></summary><div class='docblock'>Create a temporary pin for this store</div></details><details class="toggle method-toggle" open><summary><section id="method.shutdown" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1426">source</a><a href="#method.shutdown" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.shutdown" class="fn">shutdown</a>(&self)</h4></section></summary><div class='docblock'>Shutdown the store.</div></details><details class="toggle method-toggle" open><summary><section id="method.import_reader" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/traits.rs.html#336-341">source</a><a href="#method.import_reader" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Store.html#method.import_reader" class="fn">import_reader</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Set a tag</div></details><details class="toggle method-toggle" open><summary><section id="method.create_tag" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1401">source</a><a href="#method.create_tag" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.create_tag" class="fn">create_tag</a>(&self, hash: <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../struct.Tag.html" title="struct iroh::blobs::Tag">Tag</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Create a new tag</div></details><details class="toggle method-toggle" open><summary><section id="method.delete" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1405">source</a><a href="#method.delete" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.delete" class="fn">delete</a>(&self, hashes: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>physically delete the given hashes from the store.</div></details><details class="toggle method-toggle" open><summary><section id="method.gc_start" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1409">source</a><a href="#method.gc_start" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.gc_start" class="fn">gc_start</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>></h4></section></summary><div class='docblock'>Notify the store that a new gc phase is about to start. <a href="../trait.Store.html#tymethod.gc_start">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.temp_tag" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1414">source</a><a href="#method.temp_tag" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Store.html#tymethod.temp_tag" class="fn">temp_tag</a>(&self, value: <a class="struct" href="../../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>) -> <a class="struct" href="../../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a></h4></section></summary><div class='docblock'>Create a temporary pin for this store</div></details><details class="toggle method-toggle" open><summary><section id="method.shutdown" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/fs.rs.html#1418">source</a><a href="#method.shutdown" class="anchor">§</a><h4 class="code-header">async fn <a href="../trait.Store.html#tymethod.shutdown" class="fn">shutdown</a>(&self)</h4></section></summary><div class='docblock'>Shutdown the store.</div></details><details class="toggle method-toggle" open><summary><section id="method.import_reader" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_blobs/store/traits.rs.html#336-341">source</a><a href="#method.import_reader" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Store.html#method.import_reader" class="fn">import_reader</a>(
|
||||
&self,
|
||||
data: impl AsyncRead + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,
|
||||
format: <a class="enum" href="../../enum.BlobFormat.html" title="enum iroh::blobs::BlobFormat">BlobFormat</a>,
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -22,4 +22,4 @@ to open readers for both the data and the outboard</p>
|
||||
is an entry. Creating an entry should be cheap, any expensive ops should
|
||||
be deferred to the creation of the actual readers.</p>
|
||||
<p>It is not guaranteed that the entry is complete.</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Map-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1277">source</a><a href="#impl-Map-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Entry-1" class="associatedtype trait-impl"><a href="#associatedtype.Entry-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entry" class="associatedtype">Entry</a> = BaoFileHandle</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Map-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#336">source</a><a href="#impl-Map-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Entry-2" class="associatedtype trait-impl"><a href="#associatedtype.Entry-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entry" class="associatedtype">Entry</a> = <a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Map-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#180">source</a><a href="#impl-Map-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Entry-3" class="associatedtype trait-impl"><a href="#associatedtype.Entry-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entry" class="associatedtype">Entry</a> = <a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h4></section></div></details></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.Map.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Map-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1269">source</a><a href="#impl-Map-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Entry-1" class="associatedtype trait-impl"><a href="#associatedtype.Entry-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entry" class="associatedtype">Entry</a> = BaoFileHandle</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Map-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#342">source</a><a href="#impl-Map-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Entry-2" class="associatedtype trait-impl"><a href="#associatedtype.Entry-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entry" class="associatedtype">Entry</a> = <a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Map-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#180">source</a><a href="#impl-Map-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Map.html" title="trait iroh::blobs::store::Map">Map</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Entry-3" class="associatedtype trait-impl"><a href="#associatedtype.Entry-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entry" class="associatedtype">Entry</a> = <a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h4></section></div></details></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.Map.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -23,4 +23,4 @@ it only checks if the entry was marked as complete in the store.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.data_reader" class="method"><a class="src rightside" href="../../../src/iroh_blobs/store/traits.rs.html#94">source</a><h4 class="code-header">fn <a href="#tymethod.data_reader" class="fn">data_reader</a>(
|
||||
&self
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="bao_tree/io/fsm/trait.AsyncSliceReader.html" title="trait iroh::blobs::store::bao_tree::io::fsm::AsyncSliceReader">AsyncSliceReader</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h4></section></summary><div class="docblock"><p>A future that resolves to a reader that can be used to read the data</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-MapEntry-for-Entry" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#262">source</a><a href="#impl-MapEntry-for-Entry" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntry.html" title="trait iroh::blobs::store::MapEntry">MapEntry</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h3></section><section id="impl-MapEntry-for-Entry-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#158">source</a><a href="#impl-MapEntry-for-Entry-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntry.html" title="trait iroh::blobs::store::MapEntry">MapEntry</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.MapEntry.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-MapEntry-for-Entry" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#268">source</a><a href="#impl-MapEntry-for-Entry" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntry.html" title="trait iroh::blobs::store::MapEntry">MapEntry</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h3></section><section id="impl-MapEntry-for-Entry-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#158">source</a><a href="#impl-MapEntry-for-Entry-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntry.html" title="trait iroh::blobs::store::MapEntry">MapEntry</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.MapEntry.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -7,4 +7,4 @@
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.batch_writer" class="method"><a class="src rightside" href="../../../src/iroh_blobs/store/traits.rs.html#122">source</a><h4 class="code-header">fn <a href="#tymethod.batch_writer" class="fn">batch_writer</a>(
|
||||
&self
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="trait.BaoBatchWriter.html" title="trait iroh::blobs::store::BaoBatchWriter">BaoBatchWriter</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h4></section></summary><div class="docblock"><p>Get a batch writer</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-MapEntryMut-for-Entry" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#290">source</a><a href="#impl-MapEntryMut-for-Entry" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntryMut.html" title="trait iroh::blobs::store::MapEntryMut">MapEntryMut</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h3></section><section id="impl-MapEntryMut-for-Entry-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#265">source</a><a href="#impl-MapEntryMut-for-Entry-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntryMut.html" title="trait iroh::blobs::store::MapEntryMut">MapEntryMut</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.MapEntryMut.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-MapEntryMut-for-Entry" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#296">source</a><a href="#impl-MapEntryMut-for-Entry" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntryMut.html" title="trait iroh::blobs::store::MapEntryMut">MapEntryMut</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h3></section><section id="impl-MapEntryMut-for-Entry-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#265">source</a><a href="#impl-MapEntryMut-for-Entry-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapEntryMut.html" title="trait iroh::blobs::store::MapEntryMut">MapEntryMut</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.MapEntryMut.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -48,4 +48,4 @@ of the store the entry is present.</p>
|
||||
&self,
|
||||
entry: Self::<a class="associatedtype" href="trait.MapMut.html#associatedtype.EntryMut" title="type iroh::blobs::store::MapMut::EntryMut">EntryMut</a>
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h4></section></summary><div class="docblock"><p>Upgrade a partial entry to a complete entry.</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-MapMut-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1285">source</a><a href="#impl-MapMut-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.EntryMut-1" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = BaoFileHandle</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-MapMut-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#344">source</a><a href="#impl-MapMut-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.EntryMut-2" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = <a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-MapMut-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#191">source</a><a href="#impl-MapMut-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.EntryMut-3" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = <a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h4></section></div></details></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.MapMut.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-MapMut-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1277">source</a><a href="#impl-MapMut-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.EntryMut-1" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = BaoFileHandle</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-MapMut-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#350">source</a><a href="#impl-MapMut-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.EntryMut-2" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = <a class="struct" href="mem/struct.Entry.html" title="struct iroh::blobs::store::mem::Entry">Entry</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-MapMut-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#191">source</a><a href="#impl-MapMut-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MapMut.html" title="trait iroh::blobs::store::MapMut">MapMut</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></summary><div class="impl-items"><section id="associatedtype.EntryMut-3" class="associatedtype trait-impl"><a href="#associatedtype.EntryMut-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EntryMut" class="associatedtype">EntryMut</a> = <a class="struct" href="readonly_mem/struct.Entry.html" title="struct iroh::blobs::store::readonly_mem::Entry">Entry</a></h4></section></div></details></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.MapMut.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -50,4 +50,4 @@ been imported, and hash sequences that have been created internally.</p>
|
||||
<code>target</code> is the path to the target file
|
||||
<code>mode</code> is a hint how the file should be exported.
|
||||
<code>progress</code> is a callback that is called with the total number of bytes that have been written</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-ReadableStore-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1309">source</a><a href="#impl-ReadableStore-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section><section id="impl-ReadableStore-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#395">source</a><a href="#impl-ReadableStore-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section><section id="impl-ReadableStore-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#222">source</a><a href="#impl-ReadableStore-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.ReadableStore.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-ReadableStore-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1301">source</a><a href="#impl-ReadableStore-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section><section id="impl-ReadableStore-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#401">source</a><a href="#impl-ReadableStore-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section><section id="impl-ReadableStore-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#222">source</a><a href="#impl-ReadableStore-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ReadableStore.html" title="trait iroh::blobs::store::ReadableStore">ReadableStore</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.ReadableStore.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -132,4 +132,4 @@ to completion just means that some garbage will remain in the database.</p>
|
||||
<p>This will check that the file and outboard content is correct for all complete
|
||||
entries, and output valid ranges for all partial entries.</p>
|
||||
<p>It will not check the internal consistency of the database.</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Store-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1346">source</a><a href="#impl-Store-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section><section id="impl-Store-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#143">source</a><a href="#impl-Store-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section><section id="impl-Store-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#287">source</a><a href="#impl-Store-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.Store.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Store-for-Store" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#1338">source</a><a href="#impl-Store-for-Store" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for iroh::blobs::store::fs::<a class="struct" href="fs/struct.Store.html" title="struct iroh::blobs::store::fs::Store">Store</a></h3></section><section id="impl-Store-for-Store-1" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/mem.rs.html#149">source</a><a href="#impl-Store-for-Store-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for iroh::blobs::store::mem::<a class="struct" href="mem/struct.Store.html" title="struct iroh::blobs::store::mem::Store">Store</a></h3></section><section id="impl-Store-for-Store-2" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/readonly_mem.rs.html#287">source</a><a href="#impl-Store-for-Store-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Store.html" title="trait iroh::blobs::store::Store">Store</a> for iroh::blobs::store::readonly_mem::<a class="struct" href="readonly_mem/struct.Store.html" title="struct iroh::blobs::store::readonly_mem::Store">Store</a></h3></section></div><script src="../../../trait.impl/iroh_blobs/store/traits/trait.Store.js" data-ignore-extern-crates="iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -166,7 +166,7 @@ letters are used (e.g. <code>F9B4CA</code>)</div></details></div></details><deta
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||||
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.202/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../gossip/proto/trait.PeerIdentity.html" title="trait iroh::gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RpcError-for-T" class="impl"><a href="#impl-RpcError-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcError for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RpcMessage-for-T" class="impl"><a href="#impl-RpcMessage-for-T" class="anchor">§</a><h3 class="code-header">impl<T> RpcMessage for T<div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.202/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + 'static,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
<!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="Get the number of bytes given a set of chunk ranges and the total size."><title>total_bytes in iroh::blobs::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::util</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">total_bytes</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/iroh_blobs/util.rs.html#232">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn total_bytes(ranges: <a class="struct" href="../store/range_collections/struct.RangeSet.html" title="struct iroh::blobs::store::range_collections::RangeSet">RangeSet</a><[<a class="struct" href="../store/bao_tree/struct.ChunkNum.html" title="struct iroh::blobs::store::bao_tree::ChunkNum">ChunkNum</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">2</a>]>, size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Get the number of bytes given a set of chunk ranges and the total size.</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="Get the number of bytes given a set of chunk ranges and the total size."><title>total_bytes in iroh::blobs::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::blobs::util</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="../../../iroh/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">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">total_bytes</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/iroh_blobs/util.rs.html#233">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn total_bytes(ranges: <a class="struct" href="../store/range_collections/struct.RangeSet.html" title="struct iroh::blobs::store::range_collections::RangeSet">RangeSet</a><[<a class="struct" href="../store/bao_tree/struct.ChunkNum.html" title="struct iroh::blobs::store::bao_tree::ChunkNum">ChunkNum</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">2</a>]>, size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Get the number of bytes given a set of chunk ranges and the total size.</p>
|
||||
<p>If some ranges are out of bounds, they will be clamped to the size.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -1,2 +1,2 @@
|
||||
<!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="Utilities for working with tokio io"><title>iroh::blobs::util::io - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module io</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In iroh::blobs::util</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a class="mod" href="#">io</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/iroh_blobs/util.rs.html#16">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for working with tokio io</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="Utilities for working with tokio io"><title>iroh::blobs::util::io - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module io</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In iroh::blobs::util</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a class="mod" href="#">io</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/iroh_blobs/util.rs.html#17">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for working with tokio io</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.TrackingReader.html" title="struct iroh::blobs::util::io::TrackingReader">TrackingReader</a></div><div class="desc docblock-short">A reader that tracks the number of bytes read</div></li><li><div class="item-name"><a class="struct" href="struct.TrackingWriter.html" title="struct iroh::blobs::util::io::TrackingWriter">TrackingWriter</a></div><div class="desc docblock-short">A writer that tracks the number of bytes written</div></li></ul></section></div></main></body></html>
|
||||
@@ -1,2 +1,2 @@
|
||||
<!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="A local task pool with proper shutdown"><title>iroh::blobs::util::local_pool - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module local_pool</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In iroh::blobs::util</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a class="mod" href="#">local_pool</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/iroh_blobs/util.rs.html#22">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A local task pool with proper shutdown</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="A local task pool with proper shutdown"><title>iroh::blobs::util::local_pool - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module local_pool</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In iroh::blobs::util</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a class="mod" href="#">local_pool</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/iroh_blobs/util.rs.html#23">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A local task pool with proper shutdown</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Config.html" title="struct iroh::blobs::util::local_pool::Config">Config</a></div><div class="desc docblock-short">Local task pool configuration</div></li><li><div class="item-name"><a class="struct" href="struct.LocalPool.html" title="struct iroh::blobs::util::local_pool::LocalPool">LocalPool</a></div><div class="desc docblock-short">A local task pool with proper shutdown</div></li><li><div class="item-name"><a class="struct" href="struct.LocalPoolHandle.html" title="struct iroh::blobs::util::local_pool::LocalPoolHandle">LocalPoolHandle</a></div><div class="desc docblock-short">A handle to a <a href="struct.LocalPool.html" title="struct iroh::blobs::util::local_pool::LocalPool"><code>LocalPool</code></a></div></li><li><div class="item-name"><a class="struct" href="struct.Run.html" title="struct iroh::blobs::util::local_pool::Run">Run</a></div><div class="desc docblock-short">Future returned by <a href="struct.LocalPoolHandle.html#method.spawn" title="method iroh::blobs::util::local_pool::LocalPoolHandle::spawn"><code>LocalPoolHandle::spawn</code></a> and <a href="struct.LocalPoolHandle.html#method.try_spawn" title="method iroh::blobs::util::local_pool::LocalPoolHandle::try_spawn"><code>LocalPoolHandle::try_spawn</code></a>.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.PanicMode.html" title="enum iroh::blobs::util::local_pool::PanicMode">PanicMode</a></div><div class="desc docblock-short">What to do when a panic occurs in a pool thread</div></li><li><div class="item-name"><a class="enum" href="enum.SpawnError.html" title="enum iroh::blobs::util::local_pool::SpawnError">SpawnError</a></div><div class="desc docblock-short">Errors for spawn failures</div></li></ul></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
@@ -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="Utilities for reporting progress."><title>iroh::blobs::util::progress - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module progress</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh::blobs::util</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a class="mod" href="#">progress</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/iroh_blobs/util.rs.html#18">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for reporting progress.</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="Utilities for reporting progress."><title>iroh::blobs::util::progress - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module progress</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh::blobs::util</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a class="mod" href="#">progress</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/iroh_blobs/util.rs.html#19">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for reporting progress.</p>
|
||||
<p>The main entry point is the <a href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> trait.</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a></div><div class="desc docblock-short">A progress sender that uses an async channel.</div></li><li><div class="item-name"><a class="struct" href="struct.BoxedProgressSender.html" title="struct iroh::blobs::util::progress::BoxedProgressSender">BoxedProgressSender</a></div><div class="desc docblock-short">A boxed progress sender</div></li><li><div class="item-name"><a class="struct" href="struct.FallibleProgressSliceWriter.html" title="struct iroh::blobs::util::progress::FallibleProgressSliceWriter">FallibleProgressSliceWriter</a></div><div class="desc docblock-short">A slice writer that adds a fallible progress callback.</div></li><li><div class="item-name"><a class="struct" href="struct.FlumeProgressSender.html" title="struct iroh::blobs::util::progress::FlumeProgressSender">FlumeProgressSender</a></div><div class="desc docblock-short">A progress sender that uses a flume channel.</div></li><li><div class="item-name"><a class="struct" href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a></div><div class="desc docblock-short">A no-op progress sender.</div></li><li><div class="item-name"><a class="struct" href="struct.ProgressSliceWriter.html" title="struct iroh::blobs::util::progress::ProgressSliceWriter">ProgressSliceWriter</a></div><div class="desc docblock-short">A slice writer that adds a synchronous progress callback.</div></li><li><div class="item-name"><a class="struct" href="struct.WithFilterMap.html" title="struct iroh::blobs::util::progress::WithFilterMap">WithFilterMap</a></div><div class="desc docblock-short">Transform the message type by filter-mapping to the type of this sender.</div></li><li><div class="item-name"><a class="struct" href="struct.WithMap.html" title="struct iroh::blobs::util::progress::WithMap">WithMap</a></div><div class="desc docblock-short">Transform the message type by mapping to the type of this sender.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.ProgressSendError.html" title="enum iroh::blobs::util::progress::ProgressSendError">ProgressSendError</a></div><div class="desc docblock-short">An error that can occur when sending progress messages.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a></div><div class="desc docblock-short">An id generator, to be combined with a progress sender.</div></li><li><div class="item-name"><a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a></div><div class="desc docblock-short">A general purpose progress sender. This should be usable for reporting progress
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a></div><div class="desc docblock-short">A progress sender that uses an async channel.</div></li><li><div class="item-name"><a class="struct" href="struct.BoxedProgressSender.html" title="struct iroh::blobs::util::progress::BoxedProgressSender">BoxedProgressSender</a></div><div class="desc docblock-short">A boxed progress sender</div></li><li><div class="item-name"><a class="struct" href="struct.FallibleProgressSliceWriter.html" title="struct iroh::blobs::util::progress::FallibleProgressSliceWriter">FallibleProgressSliceWriter</a></div><div class="desc docblock-short">A slice writer that adds a fallible progress callback.</div></li><li><div class="item-name"><a class="struct" href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a></div><div class="desc docblock-short">A no-op progress sender.</div></li><li><div class="item-name"><a class="struct" href="struct.ProgressSliceWriter.html" title="struct iroh::blobs::util::progress::ProgressSliceWriter">ProgressSliceWriter</a></div><div class="desc docblock-short">A slice writer that adds a synchronous progress callback.</div></li><li><div class="item-name"><a class="struct" href="struct.WithFilterMap.html" title="struct iroh::blobs::util::progress::WithFilterMap">WithFilterMap</a></div><div class="desc docblock-short">Transform the message type by filter-mapping to the type of this sender.</div></li><li><div class="item-name"><a class="struct" href="struct.WithMap.html" title="struct iroh::blobs::util::progress::WithMap">WithMap</a></div><div class="desc docblock-short">Transform the message type by mapping to the type of this sender.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.ProgressSendError.html" title="enum iroh::blobs::util::progress::ProgressSendError">ProgressSendError</a></div><div class="desc docblock-short">An error that can occur when sending progress messages.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a></div><div class="desc docblock-short">An id generator, to be combined with a progress sender.</div></li><li><div class="item-name"><a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a></div><div class="desc docblock-short">A general purpose progress sender. This should be usable for reporting progress
|
||||
from both blocking and non-blocking contexts.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.ProgressSendResult.html" title="type iroh::blobs::util::progress::ProgressSendResult">ProgressSendResult</a></div><div class="desc docblock-short">A result type for progress sending.</div></li></ul></section></div></main></body></html>
|
||||
@@ -1 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"enum":["ProgressSendError"],"struct":["AsyncChannelProgressSender","BoxedProgressSender","FallibleProgressSliceWriter","FlumeProgressSender","IgnoreProgressSender","ProgressSliceWriter","WithFilterMap","WithMap"],"trait":["IdGenerator","ProgressSender"],"type":["ProgressSendResult"]};
|
||||
window.SIDEBAR_ITEMS = {"enum":["ProgressSendError"],"struct":["AsyncChannelProgressSender","BoxedProgressSender","FallibleProgressSliceWriter","IgnoreProgressSender","ProgressSliceWriter","WithFilterMap","WithMap"],"trait":["IdGenerator","ProgressSender"],"type":["ProgressSendResult"]};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -8,5 +8,5 @@
|
||||
I: <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a>,</div></h3></section><section id="impl-IdGenerator-for-WithMap%3CI,+U,+F%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#406-410">source</a><a href="#impl-IdGenerator-for-WithMap%3CI,+U,+F%3E" class="anchor">§</a><h3 class="code-header">impl<I, U, F> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.WithMap.html" title="struct iroh::blobs::util::progress::WithMap">WithMap</a><I, U, F><div class="where">where
|
||||
I: <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> + <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>,
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(U) -> <I as <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>>::<a class="associatedtype" href="trait.ProgressSender.html#associatedtype.Msg" title="type iroh::blobs::util::progress::ProgressSender::Msg">Msg</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section><section id="impl-IdGenerator-for-AsyncChannelProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#581">source</a><a href="#impl-IdGenerator-for-AsyncChannelProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a><T></h3></section><section id="impl-IdGenerator-for-BoxedProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#219">source</a><a href="#impl-IdGenerator-for-BoxedProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.BoxedProgressSender.html" title="struct iroh::blobs::util::progress::BoxedProgressSender">BoxedProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section><section id="impl-IdGenerator-for-FlumeProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#489">source</a><a href="#impl-IdGenerator-for-FlumeProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.FlumeProgressSender.html" title="struct iroh::blobs::util::progress::FlumeProgressSender">FlumeProgressSender</a><T></h3></section><section id="impl-IdGenerator-for-IgnoreProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#312">source</a><a href="#impl-IdGenerator-for-IgnoreProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a><T></h3></section></div><script src="../../../../trait.impl/iroh_blobs/util/progress/trait.IdGenerator.js" data-ignore-extern-crates="alloc,iroh_blobs" async></script></section></div></main></body></html>
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(U) -> <I as <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>>::<a class="associatedtype" href="trait.ProgressSender.html#associatedtype.Msg" title="type iroh::blobs::util::progress::ProgressSender::Msg">Msg</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section><section id="impl-IdGenerator-for-AsyncChannelProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#510">source</a><a href="#impl-IdGenerator-for-AsyncChannelProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a><T></h3></section><section id="impl-IdGenerator-for-BoxedProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#219">source</a><a href="#impl-IdGenerator-for-BoxedProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.BoxedProgressSender.html" title="struct iroh::blobs::util::progress::BoxedProgressSender">BoxedProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section><section id="impl-IdGenerator-for-IgnoreProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#312">source</a><a href="#impl-IdGenerator-for-IgnoreProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.IdGenerator.html" title="trait iroh::blobs::util::progress::IdGenerator">IdGenerator</a> for <a class="struct" href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a><T></h3></section></div><script src="../../../../trait.impl/iroh_blobs/util/progress/trait.IdGenerator.js" data-ignore-extern-crates="alloc,iroh_blobs" async></script></section></div></main></body></html>
|
||||
@@ -61,8 +61,8 @@ enum cases of <code>A</code> that can be transformed to <code>B</code>. You can
|
||||
method to filter and transform the message.</p>
|
||||
<h2 id="no-op-progress-sender"><a class="doc-anchor" href="#no-op-progress-sender">§</a>No-op progress sender</h2>
|
||||
<p>If you don’t want to report progress, you can use the <a href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a> type.</p>
|
||||
<h2 id="flume-progress-sender"><a class="doc-anchor" href="#flume-progress-sender">§</a>Flume progress sender</h2>
|
||||
<p>If you want to use a flume channel, you can use the <a href="struct.FlumeProgressSender.html" title="struct iroh::blobs::util::progress::FlumeProgressSender">FlumeProgressSender</a> type.</p>
|
||||
<h2 id="async-channel-progress-sender"><a class="doc-anchor" href="#async-channel-progress-sender">§</a>Async channel progress sender</h2>
|
||||
<p>If you want to use an async channel, you can use the <a href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a> type.</p>
|
||||
<h2 id="implementing-your-own-progress-sender"><a class="doc-anchor" href="#implementing-your-own-progress-sender">§</a>Implementing your own progress sender</h2>
|
||||
<p>Progress senders will frequently be used in a multi-threaded context.</p>
|
||||
<p>They must be <strong>cheap</strong> to clone and send between threads.
|
||||
@@ -107,8 +107,7 @@ They must also be unencumbered by lifetimes, which is ensured by the <code>'stat
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<I as <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>>::<a class="associatedtype" href="trait.ProgressSender.html#associatedtype.Msg" title="type iroh::blobs::util::progress::ProgressSender::Msg">Msg</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-3" class="associatedtype trait-impl"><a href="#associatedtype.Msg-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = U</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-WithMap%3CI,+U,+F%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#349-353">source</a><a href="#impl-ProgressSender-for-WithMap%3CI,+U,+F%3E" class="anchor">§</a><h3 class="code-header">impl<I, U, F> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.WithMap.html" title="struct iroh::blobs::util::progress::WithMap">WithMap</a><I, U, F><div class="where">where
|
||||
I: <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>,
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(U) -> <I as <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>>::<a class="associatedtype" href="trait.ProgressSender.html#associatedtype.Msg" title="type iroh::blobs::util::progress::ProgressSender::Msg">Msg</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-4" class="associatedtype trait-impl"><a href="#associatedtype.Msg-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = U</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-AsyncChannelProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#587">source</a><a href="#impl-ProgressSender-for-AsyncChannelProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a><T><div class="where">where
|
||||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(U) -> <I as <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a>>::<a class="associatedtype" href="trait.ProgressSender.html#associatedtype.Msg" title="type iroh::blobs::util::progress::ProgressSender::Msg">Msg</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-4" class="associatedtype trait-impl"><a href="#associatedtype.Msg-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = U</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-AsyncChannelProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#516">source</a><a href="#impl-ProgressSender-for-AsyncChannelProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.AsyncChannelProgressSender.html" title="struct iroh::blobs::util::progress::AsyncChannelProgressSender">AsyncChannelProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-5" class="associatedtype trait-impl"><a href="#associatedtype.Msg-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-BoxedProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#225">source</a><a href="#impl-ProgressSender-for-BoxedProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.BoxedProgressSender.html" title="struct iroh::blobs::util::progress::BoxedProgressSender">BoxedProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-6" class="associatedtype trait-impl"><a href="#associatedtype.Msg-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-FlumeProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#495">source</a><a href="#impl-ProgressSender-for-FlumeProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.FlumeProgressSender.html" title="struct iroh::blobs::util::progress::FlumeProgressSender">FlumeProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-7" class="associatedtype trait-impl"><a href="#associatedtype.Msg-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-IgnoreProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#296">source</a><a href="#impl-ProgressSender-for-IgnoreProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-8" class="associatedtype trait-impl"><a href="#associatedtype.Msg-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = T</h4></section></div></details></div><script src="../../../../trait.impl/iroh_blobs/util/progress/trait.ProgressSender.js" data-ignore-extern-crates="alloc,iroh_blobs,core" async></script></section></div></main></body></html>
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-6" class="associatedtype trait-impl"><a href="#associatedtype.Msg-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ProgressSender-for-IgnoreProgressSender%3CT%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_blobs/util/progress.rs.html#296">source</a><a href="#impl-ProgressSender-for-IgnoreProgressSender%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.ProgressSender.html" title="trait iroh::blobs::util::progress::ProgressSender">ProgressSender</a> for <a class="struct" href="struct.IgnoreProgressSender.html" title="struct iroh::blobs::util::progress::IgnoreProgressSender">IgnoreProgressSender</a><T><div class="where">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Msg-7" class="associatedtype trait-impl"><a href="#associatedtype.Msg-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Msg" class="associatedtype">Msg</a> = T</h4></section></div></details></div><script src="../../../../trait.impl/iroh_blobs/util/progress/trait.ProgressSender.js" data-ignore-extern-crates="alloc,iroh_blobs,core" async></script></section></div></main></body></html>
|
||||
@@ -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="A result type for progress sending."><title>ProgressSendResult in iroh::blobs::util::progress - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">ProgressSendResult</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Err">Err</a></li><li><a href="#variant.Ok">Ok</a></li></ul></section><h2><a href="index.html">In iroh::blobs::util::progress</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="../../../../iroh/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>Type Alias <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a href="index.html">progress</a>::<wbr><a class="type" href="#">ProgressSendResult</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/iroh_blobs/util/progress.rs.html#624">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProgressSendResult<T> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <a class="enum" href="enum.ProgressSendError.html" title="enum iroh::blobs::util::progress::ProgressSendError">ProgressSendError</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A result type for progress sending.</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="A result type for progress sending."><title>ProgressSendResult in iroh::blobs::util::progress - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">ProgressSendResult</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Err">Err</a></li><li><a href="#variant.Ok">Ok</a></li></ul></section><h2><a href="index.html">In iroh::blobs::util::progress</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="../../../../iroh/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>Type Alias <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">blobs</a>::<wbr><a href="../index.html">util</a>::<wbr><a href="index.html">progress</a>::<wbr><a class="type" href="#">ProgressSendResult</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/iroh_blobs/util/progress.rs.html#553">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProgressSendResult<T> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <a class="enum" href="enum.ProgressSendError.html" title="enum iroh::blobs::util::progress::ProgressSendError">ProgressSendError</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A result type for progress sending.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum ProgressSendResult<T> {
|
||||
Ok(T),
|
||||
Err(<a class="enum" href="enum.ProgressSendError.html" title="enum iroh::blobs::util::progress::ProgressSendError">ProgressSendError</a>),
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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="A trait for things that can track liveness of blobs and collections."><title>TagCounter in iroh::blobs::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 trait"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">TagCounter</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.on_create">on_create</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.as_weak">as_weak</a></li><li><a href="#method.temp_tag">temp_tag</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-TagCounter-for-RwLock%3CTempCounterMap%3E">RwLock<TempCounterMap></a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::blobs::util</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="../../../iroh/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>Trait <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">util</a>::<wbr><a class="trait" href="#">TagCounter</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/iroh_blobs/util.rs.html#154">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait TagCounter: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="trait.TagDrop.html" title="trait iroh::blobs::util::TagDrop">TagDrop</a> {
|
||||
<!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="A trait for things that can track liveness of blobs and collections."><title>TagCounter in iroh::blobs::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 trait"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">TagCounter</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.on_create">on_create</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.as_weak">as_weak</a></li><li><a href="#method.temp_tag">temp_tag</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-TagCounter-for-RwLock%3CTempCounterMap%3E">RwLock<TempCounterMap></a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::blobs::util</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="../../../iroh/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>Trait <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">util</a>::<wbr><a class="trait" href="#">TagCounter</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/iroh_blobs/util.rs.html#155">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait TagCounter: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="trait.TagDrop.html" title="trait iroh::blobs::util::TagDrop">TagDrop</a> {
|
||||
// Required method
|
||||
fn <a href="#tymethod.on_create" class="fn">on_create</a>(&self, inner: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>);
|
||||
|
||||
@@ -11,7 +11,7 @@ blob or collection.</p>
|
||||
<p>It is important to include the format in the liveness tracking, since
|
||||
protecting a collection means protecting the blob and all its children,
|
||||
whereas protecting a raw blob only protects the blob itself.</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.on_create" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#156">source</a><h4 class="code-header">fn <a href="#tymethod.on_create" class="fn">on_create</a>(&self, inner: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>)</h4></section></summary><div class="docblock"><p>Called on creation of a temp tag</p>
|
||||
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.as_weak" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#159">source</a><h4 class="code-header">fn <a href="#method.as_weak" class="fn">as_weak</a>(self: &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Weak.html" title="struct alloc::sync::Weak">Weak</a><dyn <a class="trait" href="trait.TagDrop.html" title="trait iroh::blobs::util::TagDrop">TagDrop</a>></h4></section></summary><div class="docblock"><p>Get this as a weak reference for use in temp tags</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.temp_tag" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#165">source</a><h4 class="code-header">fn <a href="#method.temp_tag" class="fn">temp_tag</a>(self: &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>, inner: <a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>) -> <a class="struct" href="../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a></h4></section></summary><div class="docblock"><p>Create a new temp tag for the given hash and format</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.on_create" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#157">source</a><h4 class="code-header">fn <a href="#tymethod.on_create" class="fn">on_create</a>(&self, inner: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>)</h4></section></summary><div class="docblock"><p>Called on creation of a temp tag</p>
|
||||
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.as_weak" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#160">source</a><h4 class="code-header">fn <a href="#method.as_weak" class="fn">as_weak</a>(self: &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Weak.html" title="struct alloc::sync::Weak">Weak</a><dyn <a class="trait" href="trait.TagDrop.html" title="trait iroh::blobs::util::TagDrop">TagDrop</a>></h4></section></summary><div class="docblock"><p>Get this as a weak reference for use in temp tags</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.temp_tag" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#166">source</a><h4 class="code-header">fn <a href="#method.temp_tag" class="fn">temp_tag</a>(self: &<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>, inner: <a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>) -> <a class="struct" href="../struct.TempTag.html" title="struct iroh::blobs::TempTag">TempTag</a></h4></section></summary><div class="docblock"><p>Create a new temp tag for the given hash and format</p>
|
||||
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-TagCounter-for-RwLock%3CTempCounterMap%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#787">source</a><a href="#impl-TagCounter-for-RwLock%3CTempCounterMap%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TagCounter.html" title="trait iroh::blobs::util::TagCounter">TagCounter</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/rwlock/struct.RwLock.html" title="struct std::sync::rwlock::RwLock">RwLock</a><TempCounterMap></h3></section></summary><div class="impl-items"><section id="method.on_create" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#788">source</a><a href="#method.on_create" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.on_create" class="fn">on_create</a>(&self, content: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>)</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../trait.impl/iroh_blobs/util/trait.TagCounter.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<!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="Trait used from temp tags to notify an abstract store that a temp tag is being dropped."><title>TagDrop in iroh::blobs::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 trait"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">TagDrop</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.on_drop">on_drop</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-TagDrop-for-RwLock%3CTempCounterMap%3E">RwLock<TempCounterMap></a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::blobs::util</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="../../../iroh/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>Trait <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">util</a>::<wbr><a class="trait" href="#">TagDrop</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/iroh_blobs/util.rs.html#141">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait TagDrop: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static {
|
||||
<!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="Trait used from temp tags to notify an abstract store that a temp tag is being dropped."><title>TagDrop in iroh::blobs::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 trait"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">TagDrop</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.on_drop">on_drop</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-TagDrop-for-RwLock%3CTempCounterMap%3E">RwLock<TempCounterMap></a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::blobs::util</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="../../../iroh/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>Trait <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">blobs</a>::<wbr><a href="index.html">util</a>::<wbr><a class="trait" href="#">TagDrop</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/iroh_blobs/util.rs.html#142">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait TagDrop: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static {
|
||||
// Required method
|
||||
fn <a href="#tymethod.on_drop" class="fn">on_drop</a>(&self, inner: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>);
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait used from temp tags to notify an abstract store that a temp tag is
|
||||
being dropped.</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.on_drop" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#143">source</a><h4 class="code-header">fn <a href="#tymethod.on_drop" class="fn">on_drop</a>(&self, inner: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>)</h4></section></summary><div class="docblock"><p>Called on drop</p>
|
||||
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.on_drop" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util.rs.html#144">source</a><h4 class="code-header">fn <a href="#tymethod.on_drop" class="fn">on_drop</a>(&self, inner: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>)</h4></section></summary><div class="docblock"><p>Called on drop</p>
|
||||
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-TagDrop-for-RwLock%3CTempCounterMap%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#781">source</a><a href="#impl-TagDrop-for-RwLock%3CTempCounterMap%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TagDrop.html" title="trait iroh::blobs::util::TagDrop">TagDrop</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/rwlock/struct.RwLock.html" title="struct std::sync::rwlock::RwLock">RwLock</a><TempCounterMap></h3></section></summary><div class="impl-items"><section id="method.on_drop" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/store/fs.rs.html#782">source</a><a href="#method.on_drop" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.on_drop" class="fn">on_drop</a>(&self, content: &<a class="struct" href="../struct.HashAndFormat.html" title="struct iroh::blobs::HashAndFormat">HashAndFormat</a>)</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../trait.impl/iroh_blobs/util/trait.TagDrop.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>
|
||||
@@ -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 for blobs management."><title>iroh::client::blobs - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module blobs</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In iroh::client</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">client</a>::<wbr><a class="mod" href="#">blobs</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/iroh/client/blobs.rs.html#1-1435">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>API for blobs management.</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 for blobs management."><title>iroh::client::blobs - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module blobs</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In iroh::client</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">client</a>::<wbr><a class="mod" href="#">blobs</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/iroh/client/blobs.rs.html#1-1524">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>API for blobs management.</p>
|
||||
<p>The main entry point is the <a href="struct.Client.html" title="struct iroh::client::blobs::Client"><code>Client</code></a>.</p>
|
||||
<p>You obtain a <a href="struct.Client.html" title="struct iroh::client::blobs::Client"><code>Client</code></a> via <a href="../struct.Iroh.html#method.blobs" title="method iroh::client::Iroh::blobs"><code>Iroh::blobs()</code></a>.</p>
|
||||
<h3 id="interacting-with-the-local-blob-store"><a class="doc-anchor" href="#interacting-with-the-local-blob-store">§</a>Interacting with the local blob store</h3><h4 id="importing-data"><a class="doc-anchor" href="#importing-data">§</a>Importing data</h4>
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
<!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="Iroh rpc client - boxed so that we can have a concrete type."><title>RpcClient in iroh::client - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">RpcClient</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E">From<&'a Doc></a></li><li><a href="#impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E">From<&'a Iroh></a></li></ul></section><h2><a href="index.html">In iroh::client</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="../../iroh/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>Type Alias <a href="../index.html">iroh</a>::<wbr><a href="index.html">client</a>::<wbr><a class="type" href="#">RpcClient</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/iroh/client.rs.html#29-30">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type RpcClient = RpcClient<<a class="struct" href="struct.RpcService.html" title="struct iroh::client::RpcService">RpcService</a>, Connection<<a class="struct" href="struct.RpcService.html" title="struct iroh::client::RpcService">RpcService</a>>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Iroh rpc client - boxed so that we can have a concrete type.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct RpcClient { <span class="comment">/* private fields */</span> }</code></pre><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#421-425">source</a><a href="#impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#422-424">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(doc: &'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#98-102">source</a><a href="#impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#99-101">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(client: &'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><script src="../../type.impl/quic_rpc/client/struct.RpcClient.js" data-self-path="iroh::client::RpcClient" async></script></section></div></main></body></html>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct RpcClient { <span class="comment">/* private fields */</span> }</code></pre><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#421-425">source</a><a href="#impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#422-424">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(doc: &'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#98-102">source</a><a href="#impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#99-101">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(client: &'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><script src="../../type.impl/quic_rpc/client/struct.RpcClient.js" data-self-path="iroh::client::RpcClient" async></script></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
<!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="Broadcast messages to peers subscribed to a topic"><title>iroh::gossip - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../../crates.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 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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li></ul></section></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="../../iroh/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>Crate <a href="../index.html">iroh</a>::<wbr><a class="mod" href="#">gossip</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Broadcast messages to peers subscribed to a topic</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="Broadcast messages to peers subscribed to a topic"><title>iroh::gossip - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../../crates.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 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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li></ul></section></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="../../iroh/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>Crate <a href="../index.html">iroh</a>::<wbr><a class="mod" href="#">gossip</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/iroh_gossip/lib.rs.html#1-8">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Broadcast messages to peers subscribed to a topic</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="metrics/index.html" title="mod iroh::gossip::metrics">metrics</a></div><div class="desc docblock-short">Metrics for iroh-gossip</div></li><li><div class="item-name"><a class="mod" href="net/index.html" title="mod iroh::gossip::net">net</a></div><div class="desc docblock-short">Networking for the <code>iroh-gossip</code> protocol</div></li><li><div class="item-name"><a class="mod" href="proto/index.html" title="mod iroh::gossip::proto">proto</a></div><div class="desc docblock-short">Implementation of the iroh-gossip protocol, as an IO-less state machine</div></li></ul></section></div></main></body></html>
|
||||
@@ -1,2 +1,2 @@
|
||||
<!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="Metrics for iroh-gossip"><title>iroh::gossip::metrics - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module metrics</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In iroh::gossip</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a class="mod" href="#">metrics</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Metrics for iroh-gossip</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="Metrics for iroh-gossip"><title>iroh::gossip::metrics - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module metrics</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In iroh::gossip</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a class="mod" href="#">metrics</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/iroh_gossip/lib.rs.html#5">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Metrics for iroh-gossip</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Metrics.html" title="struct iroh::gossip::metrics::Metrics">Metrics</a></div><div class="desc docblock-short">Enum of metrics for the module</div></li></ul></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
<!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="ALPN protocol name"><title>GOSSIP_ALPN in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 constant"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Constant <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="constant" href="#">GOSSIP_ALPN</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub const GOSSIP_ALPN: &'static [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>];</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>ALPN protocol name</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="ALPN protocol name"><title>GOSSIP_ALPN in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 constant"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Constant <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="constant" href="#">GOSSIP_ALPN</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/iroh_gossip/net.rs.html#45">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub const GOSSIP_ALPN: &'static [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>];</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>ALPN protocol name</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
<!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="Networking for the `iroh-gossip` protocol"><title>iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module net</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh::gossip</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a class="mod" href="#">net</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Networking for the <code>iroh-gossip</code> protocol</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="Networking for the `iroh-gossip` protocol"><title>iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module net</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh::gossip</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="../../../iroh/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>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a class="mod" href="#">net</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/iroh_gossip/lib.rs.html#7">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Networking for the <code>iroh-gossip</code> protocol</p>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="util/index.html" title="mod iroh::gossip::net::util">util</a></div><div class="desc docblock-short">Utilities for iroh-gossip networking</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Gossip.html" title="struct iroh::gossip::net::Gossip">Gossip</a></div><div class="desc docblock-short">Publish and subscribe on gossiping topics.</div></li><li><div class="item-name"><a class="struct" href="struct.GossipReceiver.html" title="struct iroh::gossip::net::GossipReceiver">GossipReceiver</a></div><div class="desc docblock-short">Receiver for gossip events on a topic.</div></li><li><div class="item-name"><a class="struct" href="struct.GossipSender.html" title="struct iroh::gossip::net::GossipSender">GossipSender</a></div><div class="desc docblock-short">Sender for a gossip topic.</div></li><li><div class="item-name"><a class="struct" href="struct.GossipTopic.html" title="struct iroh::gossip::net::GossipTopic">GossipTopic</a></div><div class="desc docblock-short">Subscribed gossip topic.</div></li><li><div class="item-name"><a class="struct" href="struct.JoinOptions.html" title="struct iroh::gossip::net::JoinOptions">JoinOptions</a></div><div class="desc docblock-short">Options for joining a gossip topic.</div></li><li><div class="item-name"><a class="struct" href="struct.Message.html" title="struct iroh::gossip::net::Message">Message</a></div><div class="desc docblock-short">A gossip message</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Command.html" title="enum iroh::gossip::net::Command">Command</a></div><div class="desc docblock-short">Send a gossip message</div></li><li><div class="item-name"><a class="enum" href="enum.Event.html" title="enum iroh::gossip::net::Event">Event</a></div><div class="desc docblock-short">Events emitted from a gossip topic with a lagging notification.</div></li><li><div class="item-name"><a class="enum" href="enum.GossipEvent.html" title="enum iroh::gossip::net::GossipEvent">GossipEvent</a></div><div class="desc docblock-short">Events emitted from a gossip topic.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.GOSSIP_ALPN.html" title="constant iroh::gossip::net::GOSSIP_ALPN">GOSSIP_ALPN</a></div><div class="desc docblock-short">ALPN protocol name</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.CommandStream.html" title="type iroh::gossip::net::CommandStream">CommandStream</a></div><div class="desc docblock-short">A stream of commands for a gossip subscription.</div></li><li><div class="item-name"><a class="type" href="type.ProtoCommand.html" title="type iroh::gossip::net::ProtoCommand">ProtoCommand</a></div><div class="desc docblock-short">Commands for the gossip protocol</div></li><li><div class="item-name"><a class="type" href="type.ProtoEvent.html" title="type iroh::gossip::net::ProtoEvent">ProtoEvent</a></div><div class="desc docblock-short">Events emitted from the gossip protocol</div></li></ul></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
<!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="A stream of commands for a gossip subscription."><title>CommandStream in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">CommandStream</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3></section><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Type Alias <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">CommandStream</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type CommandStream = <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn Stream<Item = <a class="enum" href="enum.Command.html" title="enum iroh::gossip::net::Command">Command</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A stream of commands for a gossip subscription.</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="A stream of commands for a gossip subscription."><title>CommandStream in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">CommandStream</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3></section><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Type Alias <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">CommandStream</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/iroh_gossip/net/handles.rs.html#239">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type CommandStream = <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn Stream<Item = <a class="enum" href="enum.Command.html" title="enum iroh::gossip::net::Command">Command</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A stream of commands for a gossip subscription.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct CommandStream { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/core/pin/struct.Pin.js" data-self-path="iroh::gossip::net::CommandStream" async></script></section></div></main></body></html>
|
||||
@@ -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="Commands for the gossip protocol"><title>ProtoCommand in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">ProtoCommand</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Broadcast">Broadcast</a></li><li><a href="#variant.Join">Join</a></li><li><a href="#variant.Quit">Quit</a></li></ul></section><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Type Alias <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoCommand</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoCommand = <a class="enum" href="../proto/enum.Command.html" title="enum iroh::gossip::proto::Command">Command</a><<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Commands for the gossip protocol</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="Commands for the gossip protocol"><title>ProtoCommand in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">ProtoCommand</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Broadcast">Broadcast</a></li><li><a href="#variant.Join">Join</a></li><li><a href="#variant.Quit">Quit</a></li></ul></section><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Type Alias <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoCommand</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/iroh_gossip/net.rs.html#64">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoCommand = <a class="enum" href="../proto/enum.Command.html" title="enum iroh::gossip::proto::Command">Command</a><<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Commands for the gossip protocol</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum ProtoCommand {
|
||||
Join(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>>),
|
||||
Broadcast(Bytes, <a class="enum" href="../proto/enum.Scope.html" title="enum iroh::gossip::proto::Scope">Scope</a>),
|
||||
|
||||
@@ -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="Events emitted from the gossip protocol"><title>ProtoEvent in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">ProtoEvent</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.NeighborDown">NeighborDown</a></li><li><a href="#variant.NeighborUp">NeighborUp</a></li><li><a href="#variant.Received">Received</a></li></ul></section><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Type Alias <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoEvent</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoEvent = <a class="enum" href="../proto/enum.Event.html" title="enum iroh::gossip::proto::Event">Event</a><<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Events emitted from the gossip protocol</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="Events emitted from the gossip protocol"><title>ProtoEvent in iroh::gossip::net - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 type"><!--[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="../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">ProtoEvent</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.NeighborDown">NeighborDown</a></li><li><a href="#variant.NeighborUp">NeighborUp</a></li><li><a href="#variant.Received">Received</a></li></ul></section><h2><a href="index.html">In iroh::gossip::net</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="../../../iroh/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>Type Alias <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoEvent</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/iroh_gossip/net.rs.html#62">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoEvent = <a class="enum" href="../proto/enum.Event.html" title="enum iroh::gossip::proto::Event">Event</a><<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Events emitted from the gossip protocol</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum ProtoEvent {
|
||||
NeighborUp(<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>),
|
||||
NeighborDown(<a class="struct" href="../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>),
|
||||
|
||||
@@ -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="Reads a length prefixed message."><title>read_lp in iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net::util</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="../../../../iroh/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">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">read_lp</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn read_lp(
|
||||
<!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="Reads a length prefixed message."><title>read_lp in iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net::util</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="../../../../iroh/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">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">read_lp</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/iroh_gossip/net/util.rs.html#54-58">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn read_lp(
|
||||
reader: impl AsyncRead + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||||
buffer: &mut BytesMut,
|
||||
max_message_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>
|
||||
|
||||
@@ -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="Read a length-prefixed message and decode as `ProtoMessage`;"><title>read_message in iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net::util</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="../../../../iroh/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">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">read_message</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn read_message(
|
||||
<!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="Read a length-prefixed message and decode as `ProtoMessage`;"><title>read_message in iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net::util</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="../../../../iroh/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">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">read_message</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/iroh_gossip/net/util.rs.html#34-38">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn read_message(
|
||||
reader: impl AsyncRead + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||||
buffer: &mut BytesMut,
|
||||
max_message_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>
|
||||
|
||||
@@ -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="Write a `ProtoMessage` as a length-prefixed, postcard-encoded message."><title>write_message in iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net::util</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="../../../../iroh/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">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">write_message</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn write_message<W>(
|
||||
<!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="Write a `ProtoMessage` as a length-prefixed, postcard-encoded message."><title>write_message in iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::gossip::net::util</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="../../../../iroh/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">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">write_message</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/iroh_gossip/net/util.rs.html#17-22">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn write_message<W>(
|
||||
writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut W</a>,
|
||||
buffer: &mut BytesMut,
|
||||
frame: &<a class="struct" href="../../proto/struct.Message.html" title="struct iroh::gossip::proto::Message">Message</a><<a class="struct" href="../../../net/key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>>,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<!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="Utilities for iroh-gossip networking"><title>iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module util</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::gossip::net</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a class="mod" href="#">util</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for iroh-gossip networking</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="Utilities for iroh-gossip networking"><title>iroh::gossip::net::util - 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-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" 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 mod"><!--[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="../../../../iroh/index.html">iroh</a><span class="version">0.22.0</span></h2></div><h2 class="location"><a href="#">Module util</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::gossip::net</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="../../../../iroh/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>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a class="mod" href="#">util</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/iroh_gossip/net.rs.html#37">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for iroh-gossip networking</p>
|
||||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Timers.html" title="struct iroh::gossip::net::util::Timers">Timers</a></div><div class="desc docblock-short">A <a href="../../proto/util/struct.TimerMap.html" title="struct iroh::gossip::proto::util::TimerMap"><code>TimerMap</code></a> with an async method to wait for the next timer expiration.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.read_lp.html" title="fn iroh::gossip::net::util::read_lp">read_lp</a></div><div class="desc docblock-short">Reads a length prefixed message.</div></li><li><div class="item-name"><a class="fn" href="fn.read_message.html" title="fn iroh::gossip::net::util::read_message">read_message</a></div><div class="desc docblock-short">Read a length-prefixed message and decode as <code>ProtoMessage</code>;</div></li><li><div class="item-name"><a class="fn" href="fn.write_message.html" title="fn iroh::gossip::net::util::write_message">write_message</a></div><div class="desc docblock-short">Write a <code>ProtoMessage</code> as a length-prefixed, postcard-encoded message.</div></li></ul></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user