diff --git a/pr/2672/docs/help.html b/pr/2672/docs/help.html index ae70b6bfbd..49d451041f 100644 --- a/pr/2672/docs/help.html +++ b/pr/2672/docs/help.html @@ -1 +1 @@ -
source. Read moreF9B4CA)pub const IROH_BLOCK_SIZE: BlockSize;Block size used by iroh, 2^4*1024 = 16KiB
+pub const IROH_BLOCK_SIZE: BlockSize;Block size used by iroh, 2^4*1024 = 16KiB
pub enum DownloadError {
+DownloadError in iroh::blobs::downloader - Rust Enum iroh::blobs::downloader::DownloadError
source · pub enum DownloadError {
DownloadFailed,
Cancelled,
NoProviders,
@@ -8,7 +8,7 @@
§Cancelled
The download was cancelled by us
§NoProviders
No provider nodes found
§ActorClosed
Failed to receive response from service.
-source. Read moresource. Read morepub enum FailureAction {
+FailureAction in iroh::blobs::downloader - Rust Enum iroh::blobs::downloader::FailureAction
source · pub enum FailureAction {
AllIntentsDropped,
AbortRequest(Error),
DropPeer(Error),
@@ -8,7 +8,7 @@
§AbortRequest(Error)
An error occurred that prevents the request from being retried at all.
§DropPeer(Error)
An error occurred that suggests the node should not be used in general.
§RetryLater(Error)
An error occurred in which neither the node nor the request are at fault.
-pub enum GetOutput<N> {
+GetOutput in iroh::blobs::downloader - Rust Enum iroh::blobs::downloader::GetOutput
source · pub enum GetOutput<N> {
Complete(Stats),
NeedsConn(N),
}
Expand description
Output returned from Getter::get.
Variants§
§Complete(Stats)
The request is already complete in the local store.
§NeedsConn(N)
The request needs a connection to continue.
-Trait Implementations§
Auto Trait Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl<N> Freeze for GetOutput<N>where
N: Freeze,
§impl<N> RefUnwindSafe for GetOutput<N>where
N: RefUnwindSafe,
§impl<N> Send for GetOutput<N>where
N: Send,
§impl<N> Sync for GetOutput<N>where
diff --git a/pr/2672/docs/iroh/blobs/downloader/index.html b/pr/2672/docs/iroh/blobs/downloader/index.html
index 5a2a0295d6..6e4d179e97 100644
--- a/pr/2672/docs/iroh/blobs/downloader/index.html
+++ b/pr/2672/docs/iroh/blobs/downloader/index.html
@@ -1,4 +1,4 @@
-iroh::blobs::downloader - Rust Module iroh::blobs::downloader
Expand description
Handle downloading blobs and collections concurrently and from nodes.
+iroh::blobs::downloader - Rust Module iroh::blobs::downloader
source · Expand description
Handle downloading blobs and collections concurrently and from nodes.
The Downloader interacts with four main components to this end.
Dialer: Used to queue opening connections to nodes we need to perform downloads.
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.ConcurrencyLimits.html b/pr/2672/docs/iroh/blobs/downloader/struct.ConcurrencyLimits.html
index 485d675c68..d7a3f13797 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.ConcurrencyLimits.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.ConcurrencyLimits.html
@@ -1,4 +1,4 @@
-ConcurrencyLimits in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::ConcurrencyLimits
pub struct ConcurrencyLimits {
+ConcurrencyLimits in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::ConcurrencyLimits
source · pub struct ConcurrencyLimits {
pub max_concurrent_requests: usize,
pub max_concurrent_requests_per_node: usize,
pub max_open_connections: usize,
@@ -8,7 +8,7 @@
§max_concurrent_requests_per_node: usizeMaximum number of requests performed by a single node concurrently.
§max_open_connections: usizeMaximum number of open connections the service maintains.
§max_concurrent_dials_per_hash: usizeMaximum number of nodes to dial concurrently for a single request.
-Trait Implementations§
§impl Debug for ConcurrencyLimits
§impl Default for ConcurrencyLimits
§fn default() -> ConcurrencyLimits
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for ConcurrencyLimits
§impl RefUnwindSafe for ConcurrencyLimits
§impl Send for ConcurrencyLimits
§impl Sync for ConcurrencyLimits
§impl Unpin for ConcurrencyLimits
§impl UnwindSafe for ConcurrencyLimits
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for ConcurrencyLimits
source§impl Default for ConcurrencyLimits
source§fn default() -> ConcurrencyLimits
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for ConcurrencyLimits
§impl RefUnwindSafe for ConcurrencyLimits
§impl Send for ConcurrencyLimits
§impl Sync for ConcurrencyLimits
§impl Unpin for ConcurrencyLimits
§impl UnwindSafe for ConcurrencyLimits
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.DownloadHandle.html b/pr/2672/docs/iroh/blobs/downloader/struct.DownloadHandle.html
index 5298e7d847..e8b29f23e7 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.DownloadHandle.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.DownloadHandle.html
@@ -1,5 +1,5 @@
-DownloadHandle in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::DownloadHandle
pub struct DownloadHandle { /* private fields */ }
Expand description
Handle to interact with a download request.
-Trait Implementations§
§impl Debug for DownloadHandle
§impl Future for DownloadHandle
§type Output = Result<Stats, DownloadError>
The type of value produced on completion.§fn poll(
+DownloadHandle in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::DownloadHandle
source · pub struct DownloadHandle { /* private fields */ }
Expand description
Handle to interact with a download request.
+Trait Implementations§
source§impl Debug for DownloadHandle
source§impl Future for DownloadHandle
§type Output = Result<Stats, DownloadError>
The type of value produced on completion.source§fn poll(
self: Pin<&mut DownloadHandle>,
cx: &mut Context<'_>
) -> Poll<<DownloadHandle as Future>::Output>
Attempt to resolve the future to a final value, registering
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.DownloadKind.html b/pr/2672/docs/iroh/blobs/downloader/struct.DownloadKind.html
index e029694cd4..24220ae519 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.DownloadKind.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.DownloadKind.html
@@ -1,13 +1,13 @@
-DownloadKind in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::DownloadKind
pub struct DownloadKind(/* private fields */);
Expand description
The kind of resource to download.
-Implementations§
§impl DownloadKind
pub const fn format(&self) -> BlobFormat
Get the format of this download
-pub const fn hash_and_format(&self) -> HashAndFormat
Get the HashAndFormat pair of this download
-Trait Implementations§
§impl Clone for DownloadKind
§fn clone(&self) -> DownloadKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for DownloadKind
§impl Display for DownloadKind
§impl From<DownloadKind> for HashAndFormat
§fn from(value: DownloadKind) -> HashAndFormat
Converts to this type from the input type.§impl From<HashAndFormat> for DownloadKind
§fn from(value: HashAndFormat) -> DownloadKind
Converts to this type from the input type.§impl Hash for DownloadKind
§fn hash<__H>(&self, state: &mut __H)where
+DownloadKind in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::DownloadKind
source · pub struct DownloadKind(/* private fields */);
Expand description
The kind of resource to download.
+Implementations§
source§impl DownloadKind
sourcepub const fn format(&self) -> BlobFormat
Get the format of this download
+sourcepub const fn hash_and_format(&self) -> HashAndFormat
Get the HashAndFormat pair of this download
+Trait Implementations§
source§impl Clone for DownloadKind
source§fn clone(&self) -> DownloadKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for DownloadKind
source§impl Display for DownloadKind
source§impl From<DownloadKind> for HashAndFormat
source§fn from(value: DownloadKind) -> HashAndFormat
Converts to this type from the input type.source§impl From<HashAndFormat> for DownloadKind
source§fn from(value: HashAndFormat) -> DownloadKind
Converts to this type from the input type.source§impl Hash for DownloadKind
§impl PartialEq for DownloadKind
source§impl PartialEq for DownloadKind
source§fn eq(&self, other: &DownloadKind) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Copy for DownloadKind
§impl Eq for DownloadKind
§impl StructuralPartialEq for DownloadKind
Auto Trait Implementations§
§impl Freeze for DownloadKind
§impl RefUnwindSafe for DownloadKind
§impl Send for DownloadKind
§impl Sync for DownloadKind
§impl Unpin for DownloadKind
§impl UnwindSafe for DownloadKind
Blanket Implementations§
source§impl Copy for DownloadKind
source§impl Eq for DownloadKind
source§impl StructuralPartialEq for DownloadKind
Auto Trait Implementations§
§impl Freeze for DownloadKind
§impl RefUnwindSafe for DownloadKind
§impl Send for DownloadKind
§impl Sync for DownloadKind
§impl Unpin for DownloadKind
§impl UnwindSafe for DownloadKind
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.DownloadRequest.html b/pr/2672/docs/iroh/blobs/downloader/struct.DownloadRequest.html
index 471dae9d48..dbdc90f570 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.DownloadRequest.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.DownloadRequest.html
@@ -1,5 +1,5 @@
-DownloadRequest in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::DownloadRequest
pub struct DownloadRequest { /* private fields */ }
Expand description
A download request.
-Implementations§
§impl DownloadRequest
pub fn new(
+DownloadRequest in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::DownloadRequest
source · pub struct DownloadRequest { /* private fields */ }
Expand description
A download request.
+Implementations§
source§impl DownloadRequest
sourcepub fn new(
resource: impl Into<DownloadKind>,
nodes: impl IntoIterator<Item = impl Into<NodeAddr>>
) -> DownloadRequest
Create a new download request.
@@ -8,11 +8,11 @@ temp tag or with a persistent tag to make sure the data is not garbage collected
the download.
If this is not done, there download will proceed as normal, but there is no guarantee
that the data is still available when the download is complete.
-pub fn progress_sender(
+
sourcepub fn progress_sender(
self,
sender: AsyncChannelProgressSender<DownloadProgress>
) -> DownloadRequest
Pass a progress sender to receive progress updates.
-Trait Implementations§
§impl Clone for DownloadRequest
§fn clone(&self) -> DownloadRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for DownloadRequest
§impl RefUnwindSafe for DownloadRequest
§impl Send for DownloadRequest
§impl Sync for DownloadRequest
§impl Unpin for DownloadRequest
§impl UnwindSafe for DownloadRequest
Blanket Implementations§
Trait Implementations§
source§impl Clone for DownloadRequest
source§fn clone(&self) -> DownloadRequest
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for DownloadRequest
§impl RefUnwindSafe for DownloadRequest
§impl Send for DownloadRequest
§impl Sync for DownloadRequest
§impl Unpin for DownloadRequest
§impl UnwindSafe for DownloadRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.Downloader.html b/pr/2672/docs/iroh/blobs/downloader/struct.Downloader.html
index 7e61672d11..e529a2b190 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.Downloader.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.Downloader.html
@@ -1,7 +1,7 @@
-Downloader in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::Downloader
pub struct Downloader { /* private fields */ }
Expand description
Handle for the download services.
-Implementations§
§impl Downloader
pub fn new<S>(store: S, endpoint: Endpoint, rt: LocalPoolHandle) -> Downloaderwhere
+Downloader in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::Downloader
source · pub struct Downloader { /* private fields */ }
Expand description
Handle for the download services.
+Implementations§
source§impl Downloader
sourcepub fn new<S>(store: S, endpoint: Endpoint, rt: LocalPoolHandle) -> Downloaderwhere
S: Store,
Create a new Downloader with the default ConcurrencyLimits and RetryConfig.
-pub fn with_config<S>(
+
sourcepub fn with_config<S>(
store: S,
endpoint: Endpoint,
rt: LocalPoolHandle,
@@ -9,12 +9,12 @@
retry_config: RetryConfig
) -> Downloaderwhere
S: Store,
Create a new Downloader with custom ConcurrencyLimits and RetryConfig.
-pub async fn queue(&self, request: DownloadRequest) -> DownloadHandle ⓘ
Queue a download.
-pub async fn cancel(&self, handle: DownloadHandle)
Cancel a download.
-pub async fn nodes_have(&mut self, hash: Hash, nodes: Vec<PublicKey>)
Declare that certains nodes can be used to download a hash.
+sourcepub async fn queue(&self, request: DownloadRequest) -> DownloadHandle ⓘ
Queue a download.
+sourcepub async fn cancel(&self, handle: DownloadHandle)
Cancel a download.
+sourcepub async fn nodes_have(&mut self, hash: Hash, nodes: Vec<PublicKey>)
Declare that certains nodes can be used to download a hash.
Note that this does not start a download, but only provides new nodes to already queued
downloads. Use Self::queue to queue a download.
-Trait Implementations§
§impl Clone for Downloader
§fn clone(&self) -> Downloader
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for Downloader
§impl !RefUnwindSafe for Downloader
§impl Send for Downloader
§impl Sync for Downloader
§impl Unpin for Downloader
§impl !UnwindSafe for Downloader
Blanket Implementations§
Trait Implementations§
source§impl Clone for Downloader
source§fn clone(&self) -> Downloader
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl Freeze for Downloader
§impl !RefUnwindSafe for Downloader
§impl Send for Downloader
§impl Sync for Downloader
§impl Unpin for Downloader
§impl !UnwindSafe for Downloader
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.IntentId.html b/pr/2672/docs/iroh/blobs/downloader/struct.IntentId.html
index 978debc47e..37ef533be9 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.IntentId.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.IntentId.html
@@ -1,15 +1,15 @@
-IntentId in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::IntentId
pub struct IntentId(pub u64);
Expand description
Identifier for a download intent.
-Tuple Fields§
§0: u64Trait Implementations§
§impl Hash for IntentId
§fn hash<__H>(&self, state: &mut __H)where
+IntentId in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::IntentId
source · pub struct IntentId(pub u64);
Expand description
Identifier for a download intent.
+Tuple Fields§
§0: u64Trait Implementations§
source§impl Ord for IntentId
source§impl PartialEq for IntentId
§impl PartialOrd for IntentId
source§impl PartialOrd for IntentId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more§impl Copy for IntentId
§impl Eq for IntentId
§impl StructuralPartialEq for IntentId
Auto Trait Implementations§
§impl Freeze for IntentId
§impl RefUnwindSafe for IntentId
§impl Send for IntentId
§impl Sync for IntentId
§impl Unpin for IntentId
§impl UnwindSafe for IntentId
Blanket Implementations§
source§impl Copy for IntentId
source§impl Eq for IntentId
source§impl StructuralPartialEq for IntentId
Auto Trait Implementations§
§impl Freeze for IntentId
§impl RefUnwindSafe for IntentId
§impl Send for IntentId
§impl Sync for IntentId
§impl Unpin for IntentId
§impl UnwindSafe for IntentId
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/downloader/struct.RetryConfig.html b/pr/2672/docs/iroh/blobs/downloader/struct.RetryConfig.html
index bab80727e5..53e26c38cd 100644
--- a/pr/2672/docs/iroh/blobs/downloader/struct.RetryConfig.html
+++ b/pr/2672/docs/iroh/blobs/downloader/struct.RetryConfig.html
@@ -1,11 +1,11 @@
-RetryConfig in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::RetryConfig
pub struct RetryConfig {
+RetryConfig in iroh::blobs::downloader - Rust Struct iroh::blobs::downloader::RetryConfig
source · pub struct RetryConfig {
pub max_retries_per_node: u32,
pub initial_retry_delay: Duration,
}
Expand description
Configuration for retry behavior of the Downloader.
Fields§
§max_retries_per_node: u32Maximum number of retry attempts for a node that failed to dial or failed with IO errors.
§initial_retry_delay: DurationThe initial delay to wait before retrying a node. On subsequent failures, the retry delay
will be multiplied with the number of failed retries.
-Trait Implementations§
§impl Debug for RetryConfig
§impl Default for RetryConfig
§fn default() -> RetryConfig
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for RetryConfig
§impl RefUnwindSafe for RetryConfig
§impl Send for RetryConfig
§impl Sync for RetryConfig
§impl Unpin for RetryConfig
§impl UnwindSafe for RetryConfig
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Debug for RetryConfig
source§impl Default for RetryConfig
source§fn default() -> RetryConfig
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for RetryConfig
§impl RefUnwindSafe for RetryConfig
§impl Send for RetryConfig
§impl Sync for RetryConfig
§impl Unpin for RetryConfig
§impl UnwindSafe for RetryConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/downloader/trait.Dialer.html b/pr/2672/docs/iroh/blobs/downloader/trait.Dialer.html
index 425f000030..451b2d255a 100644
--- a/pr/2672/docs/iroh/blobs/downloader/trait.Dialer.html
+++ b/pr/2672/docs/iroh/blobs/downloader/trait.Dialer.html
@@ -1,4 +1,4 @@
-Dialer in iroh::blobs::downloader - Rust Trait iroh::blobs::downloader::Dialer
pub trait Dialer: Stream<Item = (PublicKey, Result<Self::Connection, Error>)> + Unpin {
+Dialer in iroh::blobs::downloader - Rust Trait iroh::blobs::downloader::Dialer
source · pub trait Dialer: Stream<Item = (PublicKey, Result<Self::Connection, Error>)> + Unpin {
type Connection: Clone + 'static;
// Required methods
@@ -7,9 +7,9 @@
fn is_pending(&self, node: PublicKey) -> bool;
fn node_id(&self) -> PublicKey;
}
Expand description
Trait modeling a dialer. This allows for IO-less testing.
-Required Associated Types§
type Connection: Clone + 'static
Type of connections returned by the Dialer.
-Required Methods§
fn queue_dial(&mut self, node_id: PublicKey)
Dial a node.
-fn pending_count(&self) -> usize
Get the number of dialing nodes.
-fn is_pending(&self, node: PublicKey) -> bool
Check if a node is being dialed.
-Implementors§
§impl Dialer for Dialer
§type Connection = Connection
\ No newline at end of file
+
Required Associated Types§
sourcetype Connection: Clone + 'static
Type of connections returned by the Dialer.
+Required Methods§
sourcefn queue_dial(&mut self, node_id: PublicKey)
Dial a node.
+sourcefn pending_count(&self) -> usize
Get the number of dialing nodes.
+sourcefn is_pending(&self, node: PublicKey) -> bool
Check if a node is being dialed.
+Implementors§
source§impl Dialer for Dialer
§type Connection = Connection
\ No newline at end of file
diff --git a/pr/2672/docs/iroh/blobs/downloader/trait.Getter.html b/pr/2672/docs/iroh/blobs/downloader/trait.Getter.html
index 693d32c3ad..4620dd0ffa 100644
--- a/pr/2672/docs/iroh/blobs/downloader/trait.Getter.html
+++ b/pr/2672/docs/iroh/blobs/downloader/trait.Getter.html
@@ -1,4 +1,4 @@
-Getter in iroh::blobs::downloader - Rust Trait iroh::blobs::downloader::Getter
pub trait Getter {
+Getter in iroh::blobs::downloader - Rust Trait iroh::blobs::downloader::Getter
source · pub trait Getter {
type Connection: 'static;
type NeedsConn: NeedsConn<Self::Connection>;
@@ -9,9 +9,9 @@
progress_sender: BroadcastProgressSender
) -> Pin<Box<dyn Future<Output = Result<GetOutput<Self::NeedsConn>, FailureAction>>>>;
}
Expand description
Trait modelling performing a single request over a connection. This allows for IO-less testing.
-Required Associated Types§
type Connection: 'static
Type of connections the Getter requires to perform a download.
-type NeedsConn: NeedsConn<Self::Connection>
Type of the intermediary state returned from Self::get if a connection is needed.
-Required Methods§
fn get(
+
Required Associated Types§
sourcetype Connection: 'static
Type of connections the Getter requires to perform a download.
+sourcetype NeedsConn: NeedsConn<Self::Connection>
Type of the intermediary state returned from Self::get if a connection is needed.
+Required Methods§
sourcefn get(
&mut self,
kind: DownloadKind,
progress_sender: BroadcastProgressSender
diff --git a/pr/2672/docs/iroh/blobs/downloader/trait.NeedsConn.html b/pr/2672/docs/iroh/blobs/downloader/trait.NeedsConn.html
index e4270f92d0..5a3883322a 100644
--- a/pr/2672/docs/iroh/blobs/downloader/trait.NeedsConn.html
+++ b/pr/2672/docs/iroh/blobs/downloader/trait.NeedsConn.html
@@ -1,12 +1,12 @@
-NeedsConn in iroh::blobs::downloader - Rust Trait iroh::blobs::downloader::NeedsConn
pub trait NeedsConn<C>: Debug + 'static {
+NeedsConn in iroh::blobs::downloader - Rust Trait iroh::blobs::downloader::NeedsConn
source · pub trait NeedsConn<C>: Debug + 'static {
// Required method
fn proceed(
self,
conn: C
) -> Pin<Box<dyn Future<Output = Result<Stats, FailureAction>>>>;
}
Expand description
Trait modelling the intermediary state when a connection is needed to proceed.
-Required Methods§
fn proceed(
+
Required Methods§
Implementors§
§impl NeedsConn<Connection> for GetStateNeedsConn
\ No newline at end of file
+
Implementors§
source§impl NeedsConn<Connection> for GetStateNeedsConn
\ No newline at end of file
diff --git a/pr/2672/docs/iroh/blobs/enum.BlobFormat.html b/pr/2672/docs/iroh/blobs/enum.BlobFormat.html
index 09f0daf567..feb9eb84bd 100644
--- a/pr/2672/docs/iroh/blobs/enum.BlobFormat.html
+++ b/pr/2672/docs/iroh/blobs/enum.BlobFormat.html
@@ -156,7 +156,7 @@ builds.
Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> PeerIdentity for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> PeerIdentity for T
§impl<T> RpcError for T
§impl<T> RpcMessage for T
source§impl<T> RuleType for Twhere
diff --git a/pr/2672/docs/iroh/blobs/export/enum.ExportProgress.html b/pr/2672/docs/iroh/blobs/export/enum.ExportProgress.html
index 060266d7ac..546dc59ca1 100644
--- a/pr/2672/docs/iroh/blobs/export/enum.ExportProgress.html
+++ b/pr/2672/docs/iroh/blobs/export/enum.ExportProgress.html
@@ -1,4 +1,4 @@
-ExportProgress in iroh::blobs::export - Rust Enum iroh::blobs::export::ExportProgress
pub enum ExportProgress {
+ExportProgress in iroh::blobs::export - Rust Enum iroh::blobs::export::ExportProgress
source · pub enum ExportProgress {
Found {
id: u64,
hash: Hash,
@@ -31,10 +31,10 @@ to the specified out path.
§AllDone
We are done with the whole operation.
§Abort(RpcError)
We got an error and need to abort.
-
Trait Implementations§
§impl Clone for ExportProgress
§fn clone(&self) -> ExportProgress
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for ExportProgress
§impl<'de> Deserialize<'de> for ExportProgress
§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for ExportProgress
source§fn clone(&self) -> ExportProgress
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for ExportProgress
source§impl<'de> Deserialize<'de> for ExportProgress
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ExportProgress, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for ExportProgress
§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ExportProgress
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
diff --git a/pr/2672/docs/iroh/blobs/export/fn.export.html b/pr/2672/docs/iroh/blobs/export/fn.export.html
index 7a2426a1b1..0cd874126b 100644
--- a/pr/2672/docs/iroh/blobs/export/fn.export.html
+++ b/pr/2672/docs/iroh/blobs/export/fn.export.html
@@ -1,4 +1,4 @@
-export in iroh::blobs::export - Rust pub async fn export<D>(
+export in iroh::blobs::export - Rust pub async fn export<D>(
db: &D,
hash: Hash,
outpath: PathBuf,
diff --git a/pr/2672/docs/iroh/blobs/export/fn.export_blob.html b/pr/2672/docs/iroh/blobs/export/fn.export_blob.html
index 51b232dd1d..291a477b17 100644
--- a/pr/2672/docs/iroh/blobs/export/fn.export_blob.html
+++ b/pr/2672/docs/iroh/blobs/export/fn.export_blob.html
@@ -1,4 +1,4 @@
-export_blob in iroh::blobs::export - Rust Function iroh::blobs::export::export_blob
pub async fn export_blob<D>(
+export_blob in iroh::blobs::export - Rust Function iroh::blobs::export::export_blob
source · pub async fn export_blob<D>(
db: &D,
hash: Hash,
outpath: PathBuf,
diff --git a/pr/2672/docs/iroh/blobs/export/fn.export_collection.html b/pr/2672/docs/iroh/blobs/export/fn.export_collection.html
index 3ec3bf52a7..caa01b388a 100644
--- a/pr/2672/docs/iroh/blobs/export/fn.export_collection.html
+++ b/pr/2672/docs/iroh/blobs/export/fn.export_collection.html
@@ -1,4 +1,4 @@
-export_collection in iroh::blobs::export - Rust Function iroh::blobs::export::export_collection
pub async fn export_collection<D>(
+export_collection in iroh::blobs::export - Rust Function iroh::blobs::export::export_collection
source · pub async fn export_collection<D>(
db: &D,
hash: Hash,
outpath: PathBuf,
diff --git a/pr/2672/docs/iroh/blobs/export/index.html b/pr/2672/docs/iroh/blobs/export/index.html
index cb61d30ed2..12ede37a28 100644
--- a/pr/2672/docs/iroh/blobs/export/index.html
+++ b/pr/2672/docs/iroh/blobs/export/index.html
@@ -1,2 +1,2 @@
-iroh::blobs::export - Rust Expand description
Functions to export data from a store
+iroh::blobs::export - Rust
\ No newline at end of file
diff --git a/pr/2672/docs/iroh/blobs/format/collection/index.html b/pr/2672/docs/iroh/blobs/format/collection/index.html
index 152c9a442c..a52013fb0d 100644
--- a/pr/2672/docs/iroh/blobs/format/collection/index.html
+++ b/pr/2672/docs/iroh/blobs/format/collection/index.html
@@ -1,2 +1,2 @@
-iroh::blobs::format::collection - Rust Module iroh::blobs::format::collection
Expand description
The collection type used by iroh
+iroh::blobs::format::collection - Rust
\ No newline at end of file
diff --git a/pr/2672/docs/iroh/blobs/format/collection/struct.Collection.html b/pr/2672/docs/iroh/blobs/format/collection/struct.Collection.html
index d2dfe0f732..31b66976e6 100644
--- a/pr/2672/docs/iroh/blobs/format/collection/struct.Collection.html
+++ b/pr/2672/docs/iroh/blobs/format/collection/struct.Collection.html
@@ -1,51 +1,51 @@
-Collection in iroh::blobs::format::collection - Rust Struct iroh::blobs::format::collection::Collection
pub struct Collection { /* private fields */ }
Expand description
A collection of blobs
+Collection in iroh::blobs::format::collection - Rust Struct iroh::blobs::format::collection::Collection
source · pub struct Collection { /* private fields */ }
Expand description
A collection of blobs
Note that the format is subject to change.
-Implementations§
§impl Collection
Implementations§
source§impl Collection
sourcepub const HEADER: &'static [u8; 13] = b"CollectionV0."
The header for the collection format.
This is the start of the metadata blob.
-pub fn to_blobs(&self) -> impl DoubleEndedIterator
Convert the collection to an iterator of blobs, with the last being the
+
sourcepub fn to_blobs(&self) -> impl DoubleEndedIterator
Convert the collection to an iterator of blobs, with the last being the
root blob.
To persist the collection, write all the blobs to storage, and use the
hash of the last blob as the collection hash.
-pub async fn read_fsm(
+
sourcepub async fn read_fsm(
fsm_at_start_root: AtStartRoot
) -> Result<(EndBlobNext, HashSeq, Collection), Error>
Read the collection from a get fsm.
Returns the fsm at the start of the first child blob (if any),
the links array, and the collection.
-pub async fn read_fsm_all(
+
sourcepub async fn read_fsm_all(
fsm_at_start_root: AtStartRoot
) -> Result<(Collection, BTreeMap<u64, Bytes>, Stats), Error>
Read the collection and all it’s children from a get fsm.
Returns the collection, a map from blob offsets to bytes, and the stats.
-pub async fn load(
+
sourcepub async fn load(
root: Hash,
store: &impl SimpleStore
) -> Result<Collection, Error>
Create a new collection from a hash sequence and metadata.
-sourcepub async fn load_db<D>(db: &D, root: &Hash) -> Result<Collection, Error>where
D: Map,
Load a collection from a store given a root hash
This assumes that both the links and the metadata of the collection is stored in the store.
It does not require that all child blobs are stored in the store.
-sourcepub async fn store<D>(self, db: &D) -> Result<TempTag, Error>where
D: Store,
Store a collection in a store. returns the root hash of the collection
as a TempTag.
-Trait Implementations§
§impl Clone for Collection
§fn clone(&self) -> Collection
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for Collection
§impl Default for Collection
§fn default() -> Collection
Returns the “default value” for a type. Read more§impl<'de> Deserialize<'de> for Collection
§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for Collection
source§fn clone(&self) -> Collection
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for Collection
source§impl Default for Collection
source§fn default() -> Collection
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for Collection
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Collection, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl<K, V> Extend<(K, V)> for Collectionwhere
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<K, V> Extend<(K, V)> for Collection
§fn extend<T>(&mut self, iter: T)where
- T: IntoIterator<Item = (K, V)>,
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one)Reserves capacity in a collection for the given number of additional elements. Read more§impl<K, V> FromIterator<(K, V)> for Collection
source§fn extend<T>(&mut self, iter: T)where
+ T: IntoIterator<Item = (K, V)>,
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl<K, V> FromIterator<(K, V)> for Collection
§fn from_iter<T>(iter: T) -> Collectionwhere
- T: IntoIterator<Item = (K, V)>,
Creates a value from an iterator. Read more§impl Index<usize> for Collection
§impl IntoIterator for Collection
§type IntoIter = IntoIter<<Collection as IntoIterator>::Item>
Which kind of iterator are we turning this into?§fn into_iter(self) -> <Collection as IntoIterator>::IntoIter
Creates an iterator from a value. Read more§impl PartialEq for Collection
§fn eq(&self, other: &Collection) -> bool
source§fn from_iter<T>(iter: T) -> Collectionwhere
+ T: IntoIterator<Item = (K, V)>,
Creates a value from an iterator. Read moresource§impl Index<usize> for Collection
source§impl IntoIterator for Collection
§type IntoIter = IntoIter<<Collection as IntoIterator>::Item>
Which kind of iterator are we turning this into?source§fn into_iter(self) -> <Collection as IntoIterator>::IntoIter
Creates an iterator from a value. Read moresource§impl PartialEq for Collection
source§fn eq(&self, other: &Collection) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Serialize for Collection
source§impl Serialize for Collection
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl StructuralPartialEq for Collection
Auto Trait Implementations§
§impl Freeze for Collection
§impl RefUnwindSafe for Collection
§impl Send for Collection
§impl Sync for Collection
§impl Unpin for Collection
§impl UnwindSafe for Collection
Blanket Implementations§
source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl StructuralPartialEq for Collection
Auto Trait Implementations§
§impl Freeze for Collection
§impl RefUnwindSafe for Collection
§impl Send for Collection
§impl Sync for Collection
§impl Unpin for Collection
§impl UnwindSafe for Collection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/format/collection/trait.SimpleStore.html b/pr/2672/docs/iroh/blobs/format/collection/trait.SimpleStore.html
index 0c698137b6..c4aa857466 100644
--- a/pr/2672/docs/iroh/blobs/format/collection/trait.SimpleStore.html
+++ b/pr/2672/docs/iroh/blobs/format/collection/trait.SimpleStore.html
@@ -1,9 +1,9 @@
-SimpleStore in iroh::blobs::format::collection - Rust Trait iroh::blobs::format::collection::SimpleStore
pub trait SimpleStore {
+SimpleStore in iroh::blobs::format::collection - Rust Trait iroh::blobs::format::collection::SimpleStore
source · pub trait SimpleStore {
// Required method
fn load(
&self,
hash: Hash
) -> impl Future<Output = Result<Bytes, Error>> + Send;
}
Expand description
A simple store trait for loading blobs
-Required Methods§
fn load(&self, hash: Hash) -> impl Future<Output = Result<Bytes, Error>> + Send
Load a blob from the store
+Required Methods§
Object Safety§
This trait is not object safe.Implementors§
source§impl SimpleStore for Client
\ No newline at end of file
diff --git a/pr/2672/docs/iroh/blobs/format/index.html b/pr/2672/docs/iroh/blobs/format/index.html
index eec90f2c34..d2997ab4e6 100644
--- a/pr/2672/docs/iroh/blobs/format/index.html
+++ b/pr/2672/docs/iroh/blobs/format/index.html
@@ -1,4 +1,4 @@
-iroh::blobs::format - Rust Expand description
Defines data formats for HashSeq.
+iroh::blobs::format - Rust Expand description
Defines data formats for HashSeq.
The exact details how to use a HashSeq for specific purposes is up to the
user. However, the following approach is used by iroh formats:
The first child blob is a metadata blob. It starts with a header, followed
diff --git a/pr/2672/docs/iroh/blobs/get/db/enum.BlobId.html b/pr/2672/docs/iroh/blobs/get/db/enum.BlobId.html
index 829982224e..95ffcd4fcd 100644
--- a/pr/2672/docs/iroh/blobs/get/db/enum.BlobId.html
+++ b/pr/2672/docs/iroh/blobs/get/db/enum.BlobId.html
@@ -1,27 +1,27 @@
-
BlobId in iroh::blobs::get::db - Rust pub enum BlobId {
+BlobId in iroh::blobs::get::db - Rust pub enum BlobId {
Root,
Child(NonZero<u64>),
}
Expand description
The id of a blob in a transfer
Variants§
Trait Implementations§
§impl<'de> Deserialize<'de> for BlobId
§fn deserialize<__D>(
+
Trait Implementations§
source§impl<'de> Deserialize<'de> for BlobId
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BlobId, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Hash for BlobId
§fn hash<__H>(&self, state: &mut __H)where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Ord for BlobId
source§impl PartialEq for BlobId
§impl PartialOrd for BlobId
source§impl PartialOrd for BlobId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read moresource§impl Serialize for BlobId
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
- __S: Serializer,
Serialize this value into the given Serde serializer. Read more§impl Copy for BlobId
§impl Eq for BlobId
§impl StructuralPartialEq for BlobId
Auto Trait Implementations§
§impl Freeze for BlobId
§impl RefUnwindSafe for BlobId
§impl Send for BlobId
§impl Sync for BlobId
§impl Unpin for BlobId
§impl UnwindSafe for BlobId
Blanket Implementations§
source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Copy for BlobId
source§impl Eq for BlobId
source§impl StructuralPartialEq for BlobId
Auto Trait Implementations§
§impl Freeze for BlobId
§impl RefUnwindSafe for BlobId
§impl Send for BlobId
§impl Sync for BlobId
§impl Unpin for BlobId
§impl UnwindSafe for BlobId
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
@@ -152,7 +152,7 @@ builds.
Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
§impl<T> PeerIdentity for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> PeerIdentity for T
§impl<T> RpcMessage for T
source§impl<T> RuleType for T
\ No newline at end of file
diff --git a/pr/2672/docs/iroh/blobs/get/db/enum.BlobInfo.html b/pr/2672/docs/iroh/blobs/get/db/enum.BlobInfo.html
index 30104fd4cc..94431b3893 100644
--- a/pr/2672/docs/iroh/blobs/get/db/enum.BlobInfo.html
+++ b/pr/2672/docs/iroh/blobs/get/db/enum.BlobInfo.html
@@ -1,4 +1,4 @@
-BlobInfo in iroh::blobs::get::db - Rust pub enum BlobInfo<D>where
+BlobInfo in iroh::blobs::get::db - Rust Fields
§Missing
we don’t have the blob at all
-Implementations§
§impl<D> BlobInfo<D>where
- D: Store,
pub fn size(&self) -> Option<BaoBlobSize>
The size of the blob, if known.
-pub fn valid_ranges(&self) -> RangeSet<[ChunkNum; 2]>
Ranges that are valid locally.
+Implementations§
source§impl<D> BlobInfo<D>where
+ D: Store,
sourcepub fn size(&self) -> Option<BaoBlobSize>
The size of the blob, if known.
+sourcepub fn valid_ranges(&self) -> RangeSet<[ChunkNum; 2]>
Ranges that are valid locally.
This will be all for complete blobs, empty for missing blobs,
and a set with possibly open last range for partial blobs.
-pub fn missing_ranges(&self) -> RangeSet<[ChunkNum; 2]>
Ranges that are missing locally and need to be requested.
+sourcepub fn missing_ranges(&self) -> RangeSet<[ChunkNum; 2]>
Ranges that are missing locally and need to be requested.
This will be empty for complete blobs, all for missing blobs, and
a set with possibly open last range for partial blobs.
-Trait Implementations§
Trait Implementations§
Auto Trait Implementations§
Auto Trait Implementations§
§impl<D> Freeze for BlobInfo<D>
§impl<D> RefUnwindSafe for BlobInfo<D>
§impl<D> Send for BlobInfo<D>
§impl<D> Sync for BlobInfo<D>
§impl<D> Unpin for BlobInfo<D>
§impl<D> UnwindSafe for BlobInfo<D>where
diff --git a/pr/2672/docs/iroh/blobs/get/db/enum.DownloadProgress.html b/pr/2672/docs/iroh/blobs/get/db/enum.DownloadProgress.html
index 5d6b4c0200..775271660b 100644
--- a/pr/2672/docs/iroh/blobs/get/db/enum.DownloadProgress.html
+++ b/pr/2672/docs/iroh/blobs/get/db/enum.DownloadProgress.html
@@ -1,4 +1,4 @@
-DownloadProgress in iroh::blobs::get::db - Rust Enum iroh::blobs::get::db::DownloadProgress
pub enum DownloadProgress {
+DownloadProgress in iroh::blobs::get::db - Rust pub enum DownloadProgress {
InitialState(TransferState),
FoundLocal {
child: BlobId,
@@ -53,10 +53,10 @@ allows to identify the children by their offset in the hashseq.
This will be the last message in the stream.
§Abort(RpcError)
We got an error and need to abort.
This will be the last message in the stream.
-
Trait Implementations§
§impl Clone for DownloadProgress
§fn clone(&self) -> DownloadProgress
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for DownloadProgress
§impl<'de> Deserialize<'de> for DownloadProgress
§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for DownloadProgress
source§fn clone(&self) -> DownloadProgress
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for DownloadProgress
source§impl<'de> Deserialize<'de> for DownloadProgress
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DownloadProgress, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl Serialize for DownloadProgress
§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for DownloadProgress
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
diff --git a/pr/2672/docs/iroh/blobs/get/db/enum.GetState.html b/pr/2672/docs/iroh/blobs/get/db/enum.GetState.html
index c87570f33e..d41fd44c24 100644
--- a/pr/2672/docs/iroh/blobs/get/db/enum.GetState.html
+++ b/pr/2672/docs/iroh/blobs/get/db/enum.GetState.html
@@ -1,4 +1,4 @@
-GetState in iroh::blobs::get::db - Rust pub enum GetState {
+GetState in iroh::blobs::get::db - Rust pub enum GetState {
Complete(Stats),
NeedsConn(GetStateNeedsConn),
}
Expand description
Output of get_to_db_in_steps.
@@ -7,7 +7,7 @@ needed.
§NeedsConn(GetStateNeedsConn)
The requested data is not fully available in the local store, we need a connection to
proceed.
Once a connection is available, call GetStateNeedsConn::proceed to continue.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GetState
§impl !RefUnwindSafe for GetState
§impl !Send for GetState
§impl !Sync for GetState
§impl Unpin for GetState
§impl !UnwindSafe for GetState
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GetState
§impl !RefUnwindSafe for GetState
§impl !Send for GetState
§impl !Sync for GetState
§impl Unpin for GetState
§impl !UnwindSafe for GetState
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2672/docs/iroh/blobs/get/db/fn.blob_info.html b/pr/2672/docs/iroh/blobs/get/db/fn.blob_info.html
index 67cc096e43..c9890cee4b 100644
--- a/pr/2672/docs/iroh/blobs/get/db/fn.blob_info.html
+++ b/pr/2672/docs/iroh/blobs/get/db/fn.blob_info.html
@@ -1,4 +1,4 @@
-blob_info in iroh::blobs::get::db - Rust