Enum iroh::blobs::store::ConsistencyCheckProgress
source · pub enum ConsistencyCheckProgress {
+ConsistencyCheckProgress in iroh::blobs::store - Rust diff --git a/pr/2692/docs/iroh/blobs/store/enum.ConsistencyCheckProgress.html b/pr/2692/docs/iroh/blobs/store/enum.ConsistencyCheckProgress.html index 7a1c5baeb3..ecaeb25701 100644 --- a/pr/2692/docs/iroh/blobs/store/enum.ConsistencyCheckProgress.html +++ b/pr/2692/docs/iroh/blobs/store/enum.ConsistencyCheckProgress.html @@ -1,4 +1,4 @@ -
pub enum ConsistencyCheckProgress {
+ConsistencyCheckProgress in iroh::blobs::store - Rust level: ReportLevelThe level of the message
Consistency check ended
We got an error and need to abort.
-pub enum Event {
+Event in iroh::blobs::store - Rust pub enum Event {
GcStarted,
GcCompleted,
}
Expand description
Database events
Variants§
Trait Implementations§
source§impl PartialEq for Event
Trait Implementations§
source§impl PartialEq for Event
source§impl Eq for Event
source§impl StructuralPartialEq for Event
Auto Trait Implementations§
§impl Freeze for Event
§impl RefUnwindSafe for Event
§impl Send for Event
§impl Sync for Event
§impl Unpin for Event
§impl UnwindSafe for Event
Blanket Implementations§
source§impl Eq for Event
source§impl StructuralPartialEq for Event
Auto Trait Implementations§
§impl Freeze for Event
§impl RefUnwindSafe for Event
§impl Send for Event
§impl Sync for Event
§impl Unpin for Event
§impl UnwindSafe for Event
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ExportFormat.html b/pr/2692/docs/iroh/blobs/store/enum.ExportFormat.html
index 0967100e07..ba761f0b27 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ExportFormat.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ExportFormat.html
@@ -1,4 +1,4 @@
-ExportFormat in iroh::blobs::store - Rust Enum iroh::blobs::store::ExportFormat
source · pub enum ExportFormat {
+ExportFormat in iroh::blobs::store - Rust Enum iroh::blobs::store::ExportFormat
source · pub enum ExportFormat {
Blob,
Collection,
}
Expand description
The expected format of a hash being exported.
@@ -10,10 +10,10 @@ collection metadata, all other children of the collection will be exported to
a file each, with their collection name treated as a relative path to the export
destination path.
If the blob cannot be parsed as a collection, the operation will fail.
-Trait Implementations§
source§impl Clone for ExportFormat
source§fn clone(&self) -> ExportFormat
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 ExportFormat
source§impl Default for ExportFormat
source§fn default() -> ExportFormat
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportFormat
source§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for ExportFormat
source§fn clone(&self) -> ExportFormat
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 ExportFormat
source§impl Default for ExportFormat
source§fn default() -> ExportFormat
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportFormat
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ExportFormat, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ExportFormat
source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ExportFormat
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ExportMode.html b/pr/2692/docs/iroh/blobs/store/enum.ExportMode.html
index 2a23147697..9591d0810a 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ExportMode.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ExportMode.html
@@ -1,4 +1,4 @@
-ExportMode in iroh::blobs::store - Rust Enum iroh::blobs::store::ExportMode
source · pub enum ExportMode {
+ExportMode in iroh::blobs::store - Rust Enum iroh::blobs::store::ExportMode
source · pub enum ExportMode {
Copy,
TryReference,
}
Expand description
The import mode describes how files will be imported.
@@ -15,16 +15,16 @@ the database.
the file might be modified in the target directory after it has been exported.
Stores are allowed to ignore this mode and always copy the file, e.g.
if the file is very small or if the store does not support referencing files.
-Trait Implementations§
source§impl Clone for ExportMode
source§fn clone(&self) -> ExportMode
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 ExportMode
source§impl Default for ExportMode
source§fn default() -> ExportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportMode
source§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for ExportMode
source§fn clone(&self) -> ExportMode
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 ExportMode
source§impl Default for ExportMode
source§fn default() -> ExportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportMode
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ExportMode, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ExportMode
source§impl PartialEq for ExportMode
source§fn eq(&self, other: &ExportMode) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for ExportMode
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 moresource§impl Copy for ExportMode
source§impl Eq for ExportMode
source§impl StructuralPartialEq for ExportMode
Auto Trait Implementations§
§impl Freeze for ExportMode
§impl RefUnwindSafe for ExportMode
§impl Send for ExportMode
§impl Sync for ExportMode
§impl Unpin for ExportMode
§impl UnwindSafe for ExportMode
Blanket Implementations§
source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Copy for ExportMode
source§impl Eq for ExportMode
source§impl StructuralPartialEq for ExportMode
Auto Trait Implementations§
§impl Freeze for ExportMode
§impl RefUnwindSafe for ExportMode
§impl Send for ExportMode
§impl Sync for ExportMode
§impl Unpin for ExportMode
§impl UnwindSafe for ExportMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ExportProgress.html b/pr/2692/docs/iroh/blobs/store/enum.ExportProgress.html
index eb749ad63e..9077ba5152 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ExportProgress.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ExportProgress.html
@@ -1,4 +1,4 @@
-ExportProgress in iroh::blobs::store - Rust Enum iroh::blobs::store::ExportProgress
source · pub enum ExportProgress {
+ExportProgress in iroh::blobs::store - Rust Enum iroh::blobs::store::ExportProgress
source · pub enum ExportProgress {
Start {
id: u64,
hash: Hash,
@@ -18,7 +18,7 @@
This will be omitted if the store can move the file or use copy on write
There will be multiple of these messages for an id
§Done
Done exporting
-
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ExportProgress
§impl RefUnwindSafe for ExportProgress
§impl Send for ExportProgress
§impl Sync for ExportProgress
§impl Unpin for ExportProgress
§impl UnwindSafe for ExportProgress
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ExportProgress
§impl RefUnwindSafe for ExportProgress
§impl Send for ExportProgress
§impl Sync for ExportProgress
§impl Unpin for ExportProgress
§impl UnwindSafe for ExportProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.GcMarkEvent.html b/pr/2692/docs/iroh/blobs/store/enum.GcMarkEvent.html
index 5c64e94044..ab877004d9 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.GcMarkEvent.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.GcMarkEvent.html
@@ -1,4 +1,4 @@
-GcMarkEvent in iroh::blobs::store - Rust Enum iroh::blobs::store::GcMarkEvent
source · pub enum GcMarkEvent {
+GcMarkEvent in iroh::blobs::store - Rust Enum iroh::blobs::store::GcMarkEvent
source · pub enum GcMarkEvent {
CustomDebug(String),
CustomWarning(String, Option<Error>),
Error(Error),
@@ -6,7 +6,7 @@
Variants§
§CustomDebug(String)
A custom event (info)
§CustomWarning(String, Option<Error>)
A custom non critical error
§Error(Error)
An unrecoverable error during GC
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcMarkEvent
§impl RefUnwindSafe for GcMarkEvent
§impl Send for GcMarkEvent
§impl Sync for GcMarkEvent
§impl Unpin for GcMarkEvent
§impl UnwindSafe for GcMarkEvent
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcMarkEvent
§impl RefUnwindSafe for GcMarkEvent
§impl Send for GcMarkEvent
§impl Sync for GcMarkEvent
§impl Unpin for GcMarkEvent
§impl UnwindSafe for GcMarkEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.GcSweepEvent.html b/pr/2692/docs/iroh/blobs/store/enum.GcSweepEvent.html
index b479f9dcfd..2ce73b23db 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.GcSweepEvent.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.GcSweepEvent.html
@@ -1,4 +1,4 @@
-GcSweepEvent in iroh::blobs::store - Rust Enum iroh::blobs::store::GcSweepEvent
source · pub enum GcSweepEvent {
+GcSweepEvent in iroh::blobs::store - Rust Enum iroh::blobs::store::GcSweepEvent
source · pub enum GcSweepEvent {
CustomDebug(String),
CustomWarning(String, Option<Error>),
Error(Error),
@@ -6,7 +6,7 @@
Variants§
§CustomDebug(String)
A custom event (debug)
§CustomWarning(String, Option<Error>)
A custom non critical error
§Error(Error)
An unrecoverable error during GC
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcSweepEvent
§impl RefUnwindSafe for GcSweepEvent
§impl Send for GcSweepEvent
§impl Sync for GcSweepEvent
§impl Unpin for GcSweepEvent
§impl UnwindSafe for GcSweepEvent
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcSweepEvent
§impl RefUnwindSafe for GcSweepEvent
§impl Send for GcSweepEvent
§impl Sync for GcSweepEvent
§impl Unpin for GcSweepEvent
§impl UnwindSafe for GcSweepEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ImportMode.html b/pr/2692/docs/iroh/blobs/store/enum.ImportMode.html
index b04cb764f7..dd8fa2c80a 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ImportMode.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ImportMode.html
@@ -1,4 +1,4 @@
-ImportMode in iroh::blobs::store - Rust Enum iroh::blobs::store::ImportMode
source · pub enum ImportMode {
+ImportMode in iroh::blobs::store - Rust Enum iroh::blobs::store::ImportMode
source · pub enum ImportMode {
Copy,
TryReference,
}
Expand description
The import mode describes how files will be imported.
@@ -14,16 +14,16 @@ after it has been imported.
the file might be modified after it has been imported.
Stores are allowed to ignore this mode and always copy the file, e.g.
if the file is very small or if the store does not support referencing files.
-Trait Implementations§
source§impl Clone for ImportMode
source§fn clone(&self) -> ImportMode
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 ImportMode
source§impl Default for ImportMode
source§fn default() -> ImportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ImportMode
source§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for ImportMode
source§fn clone(&self) -> ImportMode
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 ImportMode
source§impl Default for ImportMode
source§fn default() -> ImportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ImportMode
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ImportMode, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImportMode
source§impl PartialEq for ImportMode
source§fn eq(&self, other: &ImportMode) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for ImportMode
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 moresource§impl Copy for ImportMode
source§impl Eq for ImportMode
source§impl StructuralPartialEq for ImportMode
Auto Trait Implementations§
§impl Freeze for ImportMode
§impl RefUnwindSafe for ImportMode
§impl Send for ImportMode
§impl Sync for ImportMode
§impl Unpin for ImportMode
§impl UnwindSafe for ImportMode
Blanket Implementations§
source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Copy for ImportMode
source§impl Eq for ImportMode
source§impl StructuralPartialEq for ImportMode
Auto Trait Implementations§
§impl Freeze for ImportMode
§impl RefUnwindSafe for ImportMode
§impl Send for ImportMode
§impl Sync for ImportMode
§impl Unpin for ImportMode
§impl UnwindSafe for ImportMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ImportProgress.html b/pr/2692/docs/iroh/blobs/store/enum.ImportProgress.html
index 59c0e6610a..ecd51a77ee 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ImportProgress.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ImportProgress.html
@@ -1,4 +1,4 @@
-ImportProgress in iroh::blobs::store - Rust Enum iroh::blobs::store::ImportProgress
source · pub enum ImportProgress {
+ImportProgress in iroh::blobs::store - Rust Enum iroh::blobs::store::ImportProgress
source · pub enum ImportProgress {
Found {
id: u64,
name: String,
@@ -35,7 +35,7 @@ is fully copied.
There will be multiple of these messages for an id
§OutboardDone
Done computing the outboard
This comes after Size and zero or more OutboardProgress messages
-
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ImportProgress
§impl RefUnwindSafe for ImportProgress
§impl Send for ImportProgress
§impl Sync for ImportProgress
§impl Unpin for ImportProgress
§impl UnwindSafe for ImportProgress
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ImportProgress
§impl RefUnwindSafe for ImportProgress
§impl Send for ImportProgress
§impl Sync for ImportProgress
§impl Unpin for ImportProgress
§impl UnwindSafe for ImportProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ReportLevel.html b/pr/2692/docs/iroh/blobs/store/enum.ReportLevel.html
index d901ce58dd..b329021aeb 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ReportLevel.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ReportLevel.html
@@ -1,4 +1,4 @@
-ReportLevel in iroh::blobs::store - Rust Enum iroh::blobs::store::ReportLevel
source · pub enum ReportLevel {
+ReportLevel in iroh::blobs::store - Rust Enum iroh::blobs::store::ReportLevel
source · pub enum ReportLevel {
Trace,
Info,
Warn,
@@ -8,21 +8,21 @@
§Info
Info messages
§Warn
Warnings, something is not quite right
§Error
Errors, something is very wrong
-
Trait Implementations§
source§impl Clone for ReportLevel
source§fn clone(&self) -> ReportLevel
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 ReportLevel
source§impl<'de> Deserialize<'de> for ReportLevel
source§fn deserialize<__D>(
+
Trait Implementations§
source§impl Clone for ReportLevel
source§fn clone(&self) -> ReportLevel
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 ReportLevel
source§impl<'de> Deserialize<'de> for ReportLevel
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ReportLevel, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ReportLevel
source§impl Ord for ReportLevel
source§impl Display for ReportLevel
source§impl Ord for ReportLevel
source§fn cmp(&self, other: &ReportLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ReportLevel
source§impl PartialEq for ReportLevel
source§fn eq(&self, other: &ReportLevel) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl PartialOrd for ReportLevel
source§impl PartialOrd for ReportLevel
source§fn partial_cmp(&self, other: &ReportLevel) -> Option<Ordering>
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 ReportLevel
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 moresource§impl Copy for ReportLevel
source§impl Eq for ReportLevel
source§impl StructuralPartialEq for ReportLevel
Auto Trait Implementations§
§impl Freeze for ReportLevel
§impl RefUnwindSafe for ReportLevel
§impl Send for ReportLevel
§impl Sync for ReportLevel
§impl Unpin for ReportLevel
§impl UnwindSafe for ReportLevel
Blanket Implementations§
source§impl<T> Any for Twhere
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl Copy for ReportLevel
source§impl Eq for ReportLevel
source§impl StructuralPartialEq for ReportLevel
Auto Trait Implementations§
§impl Freeze for ReportLevel
§impl RefUnwindSafe for ReportLevel
§impl Send for ReportLevel
§impl Sync for ReportLevel
§impl Unpin for ReportLevel
§impl UnwindSafe for ReportLevel
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/enum.ValidateProgress.html b/pr/2692/docs/iroh/blobs/store/enum.ValidateProgress.html
index 67ecebc11b..ec40880b11 100644
--- a/pr/2692/docs/iroh/blobs/store/enum.ValidateProgress.html
+++ b/pr/2692/docs/iroh/blobs/store/enum.ValidateProgress.html
@@ -1,4 +1,4 @@
-ValidateProgress in iroh::blobs::store - Rust Enum iroh::blobs::store::ValidateProgress
source · pub enum ValidateProgress {
+ValidateProgress in iroh::blobs::store - Rust
§AllDone
We are done with the whole operation.
§Abort(RpcError)
We got an error and need to abort.
-Trait Implementations§
source§impl Debug for ValidateProgress
source§impl<'de> Deserialize<'de> for ValidateProgress
source§fn deserialize<__D>(
+
Trait Implementations§
source§impl Debug for ValidateProgress
source§impl<'de> Deserialize<'de> for ValidateProgress
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ValidateProgress, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ValidateProgress
source§fn serialize<__S>(
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ValidateProgress
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
diff --git a/pr/2692/docs/iroh/blobs/store/fs/struct.BatchOptions.html b/pr/2692/docs/iroh/blobs/store/fs/struct.BatchOptions.html
index f6871ffa3a..9e972c9fbc 100644
--- a/pr/2692/docs/iroh/blobs/store/fs/struct.BatchOptions.html
+++ b/pr/2692/docs/iroh/blobs/store/fs/struct.BatchOptions.html
@@ -1,4 +1,4 @@
-BatchOptions in iroh::blobs::store::fs - Rust pub struct BatchOptions {
+BatchOptions in iroh::blobs::store::fs - Rust pub struct BatchOptions {
pub max_read_batch: usize,
pub max_read_duration: Duration,
pub max_write_batch: usize,
@@ -8,7 +8,7 @@
§max_read_duration: DurationMaximum duration to wait before committing a read transaction.
§max_write_batch: usizeMaximum number of actor messages to batch before committing write transaction.
§max_write_duration: DurationMaximum duration to wait before committing a write transaction.
-Trait Implementations§
source§impl Clone for BatchOptions
source§fn clone(&self) -> BatchOptions
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 BatchOptions
source§impl Default for BatchOptions
source§fn default() -> BatchOptions
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for BatchOptions
§impl RefUnwindSafe for BatchOptions
§impl Send for BatchOptions
§impl Sync for BatchOptions
§impl Unpin for BatchOptions
§impl UnwindSafe for BatchOptions
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Clone for BatchOptions
source§fn clone(&self) -> BatchOptions
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 BatchOptions
source§impl Default for BatchOptions
source§fn default() -> BatchOptions
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for BatchOptions
§impl RefUnwindSafe for BatchOptions
§impl Send for BatchOptions
§impl Sync for BatchOptions
§impl Unpin for BatchOptions
§impl UnwindSafe for BatchOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/fs/struct.InlineOptions.html b/pr/2692/docs/iroh/blobs/store/fs/struct.InlineOptions.html
index b74cfac9ef..64a70dbd8a 100644
--- a/pr/2692/docs/iroh/blobs/store/fs/struct.InlineOptions.html
+++ b/pr/2692/docs/iroh/blobs/store/fs/struct.InlineOptions.html
@@ -1,12 +1,12 @@
-InlineOptions in iroh::blobs::store::fs - Rust pub struct InlineOptions {
+InlineOptions in iroh::blobs::store::fs - Rust pub struct InlineOptions {
pub max_data_inlined: u64,
pub max_outboard_inlined: u64,
}
Expand description
Options for inlining small complete data or outboards.
Fields§
§max_data_inlined: u64Maximum data size to inline.
§max_outboard_inlined: u64Maximum outboard size to inline.
-Implementations§
source§impl InlineOptions
sourcepub const NO_INLINE: InlineOptions = _
Do not inline anything, ever.
-sourcepub const ALWAYS_INLINE: InlineOptions = _
Always inline everything
-Trait Implementations§
source§impl Clone for InlineOptions
source§fn clone(&self) -> InlineOptions
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 InlineOptions
source§impl Default for InlineOptions
source§fn default() -> InlineOptions
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for InlineOptions
§impl RefUnwindSafe for InlineOptions
§impl Send for InlineOptions
§impl Sync for InlineOptions
§impl Unpin for InlineOptions
§impl UnwindSafe for InlineOptions
Blanket Implementations§
source§impl<T> Any for Twhere
+Implementations§
source§impl InlineOptions
sourcepub const NO_INLINE: InlineOptions = _
Do not inline anything, ever.
+sourcepub const ALWAYS_INLINE: InlineOptions = _
Always inline everything
+Trait Implementations§
source§impl Clone for InlineOptions
source§fn clone(&self) -> InlineOptions
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 InlineOptions
source§impl Default for InlineOptions
source§fn default() -> InlineOptions
Returns the “default value” for a type. Read moreAuto Trait Implementations§
§impl Freeze for InlineOptions
§impl RefUnwindSafe for InlineOptions
§impl Send for InlineOptions
§impl Sync for InlineOptions
§impl Unpin for InlineOptions
§impl UnwindSafe for InlineOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/fs/struct.Options.html b/pr/2692/docs/iroh/blobs/store/fs/struct.Options.html
index 2b27a71e3e..1832a190bc 100644
--- a/pr/2692/docs/iroh/blobs/store/fs/struct.Options.html
+++ b/pr/2692/docs/iroh/blobs/store/fs/struct.Options.html
@@ -1,4 +1,4 @@
-Options in iroh::blobs::store::fs - Rust pub struct Options {
+Options in iroh::blobs::store::fs - Rust pub struct Options {
pub path: PathOptions,
pub inline: InlineOptions,
pub batch: BatchOptions,
@@ -6,7 +6,7 @@
Fields§
§path: PathOptionsPath options.
§inline: InlineOptionsInline storage options.
§batch: BatchOptionsTransaction batching options.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Options
§impl RefUnwindSafe for Options
§impl Send for Options
§impl Sync for Options
§impl Unpin for Options
§impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Options
§impl RefUnwindSafe for Options
§impl Send for Options
§impl Sync for Options
§impl Unpin for Options
§impl UnwindSafe for Options
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/fs/struct.PathOptions.html b/pr/2692/docs/iroh/blobs/store/fs/struct.PathOptions.html
index fe48662452..fb14455a6b 100644
--- a/pr/2692/docs/iroh/blobs/store/fs/struct.PathOptions.html
+++ b/pr/2692/docs/iroh/blobs/store/fs/struct.PathOptions.html
@@ -1,4 +1,4 @@
-PathOptions in iroh::blobs::store::fs - Rust pub struct PathOptions {
+PathOptions in iroh::blobs::store::fs - Rust pub struct PathOptions {
pub data_path: PathBuf,
pub temp_path: PathBuf,
}
Expand description
Options for directories used by the file store.
@@ -6,7 +6,7 @@
§temp_path: PathBufPath to the directory where temp files are stored.
This must be on the same device as data_path, since we need to
atomically move temp files into place.
-Trait Implementations§
source§impl Clone for PathOptions
source§fn clone(&self) -> PathOptions
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 PathOptions
§impl RefUnwindSafe for PathOptions
§impl Send for PathOptions
§impl Sync for PathOptions
§impl Unpin for PathOptions
§impl UnwindSafe for PathOptions
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Clone for PathOptions
source§fn clone(&self) -> PathOptions
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 PathOptions
§impl RefUnwindSafe for PathOptions
§impl Send for PathOptions
§impl Sync for PathOptions
§impl Unpin for PathOptions
§impl UnwindSafe for PathOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/fs/struct.Store.html b/pr/2692/docs/iroh/blobs/store/fs/struct.Store.html
index 987d71538b..1dab71b1f5 100644
--- a/pr/2692/docs/iroh/blobs/store/fs/struct.Store.html
+++ b/pr/2692/docs/iroh/blobs/store/fs/struct.Store.html
@@ -1,4 +1,4 @@
-Store in iroh::blobs::store::fs - Rust pub struct Store(/* private fields */);
Expand description
Storage that is using a redb database for small files and files for
+
Store in iroh::blobs::store::fs - Rust pub struct Store(/* private fields */);
Expand description
Storage that is using a redb database for small files and files for
large files.
Implementations§
source§impl Store
sourcepub async fn transform_entries(
&self,
@@ -7,69 +7,71 @@ large files.
in a wrong state.
sourcepub fn owned_data_path(&self, hash: &Hash) -> PathBuf
Owned data path
sourcepub fn owned_outboard_path(&self, hash: &Hash) -> PathBuf
Owned outboard path
-source§impl Store
sourcepub async fn load(root: impl AsRef<Path>) -> Result<Store, Error>
Load or create a new store.
+sourcepub async fn new(path: PathBuf, options: Options) -> Result<Store, Error>
Create a new store with custom options.
+sourcepub async fn update_inline_options(
&self,
inline_options: InlineOptions,
reapply: bool
) -> Result<(), Error>
Update the inline options.
When reapply is true, the new options will be applied to all existing
entries.
-Trait Implementations§
Trait Implementations§
source§impl MapMut for Store
source§async fn get_or_create(
&self,
hash: Hash,
_size: u64
-) -> Result<<Store as MapMut>::EntryMut, Error>
Get an existing partial entry, or create a new one. Read moresource§async fn entry_status(&self, hash: &Hash) -> Result<EntryStatus, Error>
Find out if the data behind a hash is complete, partial, or not present. Read moresource§async fn get_mut(
+) -> Result<<Store as MapMut>::EntryMut, Error>
Get an existing partial entry, or create a new one. Read moresource§async fn entry_status(&self, hash: &Hash) -> Result<EntryStatus, Error>
Find out if the data behind a hash is complete, partial, or not present. Read moresource§async fn get_mut(
&self,
hash: &Hash
-) -> Result<Option<<Store as MapMut>::EntryMut>, Error>
Get an existing entry as an EntryMut. Read moresource§async fn insert_complete(
+) -> Result<Option<<Store as MapMut>::EntryMut>, Error>
Get an existing entry as an EntryMut. Read moresource§async fn insert_complete(
&self,
entry: <Store as MapMut>::EntryMut
-) -> Result<(), Error>
Upgrade a partial entry to a complete entry.source§fn entry_status_sync(&self, hash: &Hash) -> Result<EntryStatus, Error>
Sync version of entry_status, for the doc sync engine until we can get rid of it. Read moresource§impl ReadableStore for Store
source§impl ReadableStore for Store
source§async fn blobs(
&self
) -> Result<Box<dyn Iterator<Item = Result<Hash, Error>> + Send + Sync>, Error>
list all blobs in the database. This includes both raw blobs that have
-been imported, and hash sequences that have been created internally.source§async fn partial_blobs(
+been imported, and hash sequences that have been created internally.
source§async fn partial_blobs(
&self
-) -> Result<Box<dyn Iterator<Item = Result<Hash, Error>> + Send + Sync>, Error>
list partial blobs in the database
list partial blobs in the database
list all tags (collections or other explicitly added things) in the database
Temp tagssource§async fn consistency_check(
+) -> Result<Box<dyn Iterator<Item = Result<(Tag, HashAndFormat), Error>> + Send + Sync>, Error>
list all tags (collections or other explicitly added things) in the database
Temp tagssource§async fn consistency_check(
&self,
repair: bool,
tx: BoxedProgressSender<ConsistencyCheckProgress>
-) -> Result<(), Error>
Perform a consistency check on the databasesource§impl Store for Store
source§async fn import_file(
&self,
path: PathBuf,
mode: ImportMode,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> Result<(TempTag, u64), Error>
This trait method imports a file from a local path. Read moresource§async fn import_bytes(
+) -> Result<(TempTag, u64), Error>
This trait method imports a file from a local path. Read moresource§async fn import_bytes(
&self,
data: Bytes,
format: BlobFormat
-) -> Result<TempTag, Error>
Import data from memory. Read moresource§async fn import_stream(
&self,
data: impl Stream<Item = Result<Bytes, Error>> + Unpin + Send + 'static,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> Result<(TempTag, u64), Error>
Import data from a stream of bytes.source§async fn set_tag(
&self,
name: Tag,
hash: Option<HashAndFormat>
-) -> Result<(), Error>
Set a tagsource§async fn create_tag(&self, hash: HashAndFormat) -> Result<Tag, Error>
Create a new tagsource§async fn delete(&self, hashes: Vec<Hash>) -> Result<(), Error>
physically delete the given hashes from the store.source§fn temp_tag(&self, value: HashAndFormat) -> TempTag
Create a temporary pin for this storesource§async fn create_tag(&self, hash: HashAndFormat) -> Result<Tag, Error>
Create a new tagsource§async fn delete(&self, hashes: Vec<Hash>) -> Result<(), Error>
physically delete the given hashes from the store.source§fn temp_tag(&self, value: HashAndFormat) -> TempTag
Create a temporary pin for this storesource§fn import_reader(
&self,
data: impl AsyncRead + Send + Unpin + 'static,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.source§fn validate(
+) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.source§fn validate(
&self,
repair: bool,
tx: BoxedProgressSender<ValidateProgress>
diff --git a/pr/2692/docs/iroh/blobs/store/fs/type.Entry.html b/pr/2692/docs/iroh/blobs/store/fs/type.Entry.html
index 1c4f86010a..c5a87b2543 100644
--- a/pr/2692/docs/iroh/blobs/store/fs/type.Entry.html
+++ b/pr/2692/docs/iroh/blobs/store/fs/type.Entry.html
@@ -1,2 +1,2 @@
-Entry in iroh::blobs::store::fs - Rust pub type Entry = BaoFileHandle;
Expand description
Use BaoFileHandle as the entry type for the map.
+Entry in iroh::blobs::store::fs - Rust
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/store/mem/struct.Entry.html b/pr/2692/docs/iroh/blobs/store/mem/struct.Entry.html
index 362192d053..5ef8ef9a5b 100644
--- a/pr/2692/docs/iroh/blobs/store/mem/struct.Entry.html
+++ b/pr/2692/docs/iroh/blobs/store/mem/struct.Entry.html
@@ -1,5 +1,5 @@
-Entry in iroh::blobs::store::mem - Rust pub struct Entry { /* private fields */ }
Expand description
An in memory entry
-Trait Implementations§
source§impl MapEntry for Entry
source§fn size(&self) -> BaoBlobSize
The size of the entry.source§fn is_complete(&self) -> bool
Returns true if the entry is complete. Read moresource§async fn outboard(&self) -> Result<impl Outboard, Error>
A future that resolves to a reader that can be used to read the outboardsource§async fn data_reader(&self) -> Result<impl AsyncSliceReader, Error>
A future that resolves to a reader that can be used to read the datasource§impl MapEntryMut for Entry
source§async fn batch_writer(&self) -> Result<impl BaoBatchWriter, Error>
Get a batch writerAuto Trait Implementations§
§impl Freeze for Entry
§impl RefUnwindSafe for Entry
§impl Send for Entry
§impl Sync for Entry
§impl Unpin for Entry
§impl UnwindSafe for Entry
Blanket Implementations§
source§impl<T> Any for Twhere
+Entry in iroh::blobs::store::mem - Rust pub struct Entry { /* private fields */ }
Expand description
An in memory entry
+Trait Implementations§
source§impl MapEntry for Entry
source§fn size(&self) -> BaoBlobSize
The size of the entry.source§fn is_complete(&self) -> bool
Returns true if the entry is complete. Read moresource§async fn outboard(&self) -> Result<impl Outboard, Error>
A future that resolves to a reader that can be used to read the outboardsource§async fn data_reader(&self) -> Result<impl AsyncSliceReader, Error>
A future that resolves to a reader that can be used to read the datasource§impl MapEntryMut for Entry
source§async fn batch_writer(&self) -> Result<impl BaoBatchWriter, Error>
Get a batch writerAuto Trait Implementations§
§impl Freeze for Entry
§impl RefUnwindSafe for Entry
§impl Send for Entry
§impl Sync for Entry
§impl Unpin for Entry
§impl UnwindSafe for Entry
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/mem/struct.Store.html b/pr/2692/docs/iroh/blobs/store/mem/struct.Store.html
index bffde49146..066e5fdc8b 100644
--- a/pr/2692/docs/iroh/blobs/store/mem/struct.Store.html
+++ b/pr/2692/docs/iroh/blobs/store/mem/struct.Store.html
@@ -1,52 +1,54 @@
-Store in iroh::blobs::store::mem - Rust pub struct Store { /* private fields */ }
Expand description
A fully featured in memory database for iroh-blobs, including support for
+
Store in iroh::blobs::store::mem - Rust pub struct Store { /* private fields */ }
Expand description
A fully featured in memory database for iroh-blobs, including support for
partial blobs.
-Implementations§
Trait Implementations§
Implementations§
Trait Implementations§
source§impl MapMut for Store
source§async fn get_mut(
&self,
hash: &Hash
-) -> Result<Option<<Store as MapMut>::EntryMut>, Error>
Get an existing entry as an EntryMut. Read moresource§async fn get_or_create(&self, hash: Hash, _size: u64) -> Result<Entry, Error>
Get an existing partial entry, or create a new one. Read moresource§async fn entry_status(&self, hash: &Hash) -> Result<EntryStatus, Error>
Find out if the data behind a hash is complete, partial, or not present. Read moresource§fn entry_status_sync(&self, hash: &Hash) -> Result<EntryStatus, Error>
Sync version of entry_status, for the doc sync engine until we can get rid of it. Read moresource§impl ReadableStore for Store
source§async fn blobs(
+) -> Result<Option<<Store as MapMut>::EntryMut>, Error>
Get an existing entry as an EntryMut. Read moresource§async fn get_or_create(&self, hash: Hash, _size: u64) -> Result<Entry, Error>
Get an existing partial entry, or create a new one. Read moresource§async fn entry_status(&self, hash: &Hash) -> Result<EntryStatus, Error>
Find out if the data behind a hash is complete, partial, or not present. Read moresource§fn entry_status_sync(&self, hash: &Hash) -> Result<EntryStatus, Error>
Sync version of entry_status, for the doc sync engine until we can get rid of it. Read moresource§impl ReadableStore for Store
source§async fn blobs(
&self
) -> Result<Box<dyn Iterator<Item = Result<Hash, Error>> + Send + Sync>, Error>
list all blobs in the database. This includes both raw blobs that have
-been imported, and hash sequences that have been created internally.source§async fn partial_blobs(
+been imported, and hash sequences that have been created internally.
source§async fn partial_blobs(
&self
-) -> Result<Box<dyn Iterator<Item = Result<Hash, Error>> + Send + Sync>, Error>
list partial blobs in the database
list partial blobs in the database
list all tags (collections or other explicitly added things) in the database
Temp tagssource§async fn consistency_check(
+) -> Result<Box<dyn Iterator<Item = Result<(Tag, HashAndFormat), Error>> + Send + Sync>, Error>
list all tags (collections or other explicitly added things) in the database
Temp tagssource§async fn consistency_check(
&self,
_repair: bool,
_tx: BoxedProgressSender<ConsistencyCheckProgress>
-) -> Result<(), Error>
Perform a consistency check on the databasesource§impl Store for Store
source§async fn import_file(
&self,
path: PathBuf,
_mode: ImportMode,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> Result<(TempTag, u64), Error>
This trait method imports a file from a local path. Read moresource§async fn import_stream(
+) -> Result<(TempTag, u64), Error>
This trait method imports a file from a local path. Read moresource§async fn import_stream(
&self,
data: impl Stream<Item = Result<Bytes, Error>> + Unpin + Send + 'static,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> Result<(TempTag, u64), Error>
Import data from a stream of bytes.source§async fn import_bytes(
+) -> Result<(TempTag, u64), Error>
Import data from a stream of bytes.source§async fn import_bytes(
&self,
bytes: Bytes,
format: BlobFormat
-) -> Result<TempTag, Error>
Import data from memory. Read moresource§async fn set_tag(
&self,
name: Tag,
value: Option<HashAndFormat>
-) -> Result<(), Error>
Set a tagsource§async fn create_tag(&self, hash: HashAndFormat) -> Result<Tag, Error>
Create a new tagsource§fn temp_tag(&self, tag: HashAndFormat) -> TempTag
Create a temporary pin for this storesource§async fn delete(&self, hashes: Vec<Hash>) -> Result<(), Error>
physically delete the given hashes from the store.source§async fn create_tag(&self, hash: HashAndFormat) -> Result<Tag, Error>
Create a new tagsource§fn temp_tag(&self, tag: HashAndFormat) -> TempTag
Create a temporary pin for this storesource§async fn delete(&self, hashes: Vec<Hash>) -> Result<(), Error>
physically delete the given hashes from the store.source§fn import_reader(
&self,
data: impl AsyncRead + Send + Unpin + 'static,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.source§fn validate(
+) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.source§fn validate(
&self,
repair: bool,
tx: BoxedProgressSender<ValidateProgress>
diff --git a/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Entry.html b/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Entry.html
index a7af691bc0..51eff834bc 100644
--- a/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Entry.html
+++ b/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Entry.html
@@ -1,5 +1,5 @@
-Entry in iroh::blobs::store::readonly_mem - Rust pub struct Entry { /* private fields */ }
Trait Implementations§
source§impl MapEntry for Entry
source§fn size(&self) -> BaoBlobSize
The size of the entry.source§async fn outboard(&self) -> Result<impl Outboard, Error>
A future that resolves to a reader that can be used to read the outboardsource§async fn data_reader(&self) -> Result<impl AsyncSliceReader, Error>
A future that resolves to a reader that can be used to read the datasource§fn is_complete(&self) -> bool
Returns true if the entry is complete. Read moresource§impl MapEntryMut for Entry
source§async fn batch_writer(&self) -> Result<impl BaoBatchWriter, Error>
Get a batch writerAuto Trait Implementations§
§impl !Freeze for Entry
§impl RefUnwindSafe for Entry
§impl Send for Entry
§impl Sync for Entry
§impl Unpin for Entry
§impl UnwindSafe for Entry
Blanket Implementations§
source§impl<T> Any for Twhere
+Entry in iroh::blobs::store::readonly_mem - Rust pub struct Entry { /* private fields */ }
Trait Implementations§
source§impl MapEntry for Entry
source§fn size(&self) -> BaoBlobSize
The size of the entry.source§async fn outboard(&self) -> Result<impl Outboard, Error>
A future that resolves to a reader that can be used to read the outboardsource§async fn data_reader(&self) -> Result<impl AsyncSliceReader, Error>
A future that resolves to a reader that can be used to read the datasource§fn is_complete(&self) -> bool
Returns true if the entry is complete. Read moresource§impl MapEntryMut for Entry
source§async fn batch_writer(&self) -> Result<impl BaoBatchWriter, Error>
Get a batch writerAuto Trait Implementations§
§impl !Freeze for Entry
§impl RefUnwindSafe for Entry
§impl Send for Entry
§impl Sync for Entry
§impl Unpin for Entry
§impl UnwindSafe for Entry
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Store.html b/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Store.html
index 36c4829b8d..cadc2bd02c 100644
--- a/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Store.html
+++ b/pr/2692/docs/iroh/blobs/store/readonly_mem/struct.Store.html
@@ -1,69 +1,71 @@
-Store in iroh::blobs::store::readonly_mem - Rust pub struct Store(/* private fields */);
Expand description
A readonly in memory database for iroh-blobs.
+Store in iroh::blobs::store::readonly_mem - Rust pub struct Store(/* private fields */);
Expand description
A readonly in memory database for iroh-blobs.
This is basically just a HashMap, so it does not allow for any modifications
unless you have a mutable reference to it.
It is therefore useful mostly for testing and sharing static data.
-Implementations§
Implementations§
source§impl Store
sourcepub fn new(
entries: impl IntoIterator<Item = (impl Into<String>, impl AsRef<[u8]>)>
) -> (Store, BTreeMap<String, Hash>)
Create a new Store from a sequence of entries.
Returns the database and a map of names to computed blake3 hashes.
In case of duplicate names, the last entry is used.
-sourcepub fn insert(&mut self, data: impl AsRef<[u8]>) -> Hash
Insert a new entry into the database, and return the hash of the entry.
+sourcepub fn insert(&mut self, data: impl AsRef<[u8]>) -> Hash
Insert a new entry into the database, and return the hash of the entry.
If the database was shared before, this will make a copy.
-sourcepub fn insert_many(
+
sourcepub fn insert_many(
&mut self,
items: impl IntoIterator<Item = impl AsRef<[u8]>>
) -> Option<Hash>
Insert multiple entries into the database, and return the hash of the last entry.
-sourcepub fn get_content(&self, hash: &Hash) -> Option<Bytes>
Get the bytes associated with a hash, if they exist.
-Trait Implementations§
Trait Implementations§
source§impl<K, V> FromIterator<(K, V)> for Store
source§impl MapMut for Store
source§async fn get_mut(
&self,
hash: &Hash
-) -> Result<Option<<Store as MapMut>::EntryMut>, Error>
Get an existing entry as an EntryMut. Read moresource§async fn get_or_create(&self, _hash: Hash, _size: u64) -> Result<Entry, Error>
Get an existing partial entry, or create a new one. Read moresource§fn entry_status_sync(&self, hash: &Hash) -> Result<EntryStatus, Error>
Sync version of entry_status, for the doc sync engine until we can get rid of it. Read moresource§async fn entry_status(&self, hash: &Hash) -> Result<EntryStatus, Error>
Find out if the data behind a hash is complete, partial, or not present. Read moresource§impl ReadableStore for Store
source§async fn blobs(
+) -> Result<Option<<Store as MapMut>::EntryMut>, Error>
Get an existing entry as an EntryMut. Read moresource§async fn get_or_create(&self, _hash: Hash, _size: u64) -> Result<Entry, Error>
Get an existing partial entry, or create a new one. Read moresource§fn entry_status_sync(&self, hash: &Hash) -> Result<EntryStatus, Error>
Sync version of entry_status, for the doc sync engine until we can get rid of it. Read moresource§async fn entry_status(&self, hash: &Hash) -> Result<EntryStatus, Error>
Find out if the data behind a hash is complete, partial, or not present. Read moresource§impl ReadableStore for Store
list all tags (collections or other explicitly added things) in the database
Temp tagssource§async fn consistency_check(
+) -> Result<Box<dyn Iterator<Item = Result<(Tag, HashAndFormat), Error>> + Send + Sync>, Error>
list all tags (collections or other explicitly added things) in the database
Temp tagssource§async fn consistency_check(
&self,
_repair: bool,
_tx: BoxedProgressSender<ConsistencyCheckProgress>
-) -> Result<(), Error>
Perform a consistency check on the databasesource§async fn export(
&self,
hash: Hash,
target: PathBuf,
mode: ExportMode,
progress: Box<dyn Fn(u64) -> Result<(), Error> + Send + Sync>
-) -> Result<(), Error>
This trait method extracts a file to a local path. Read moresource§impl Store for Store
source§async fn import_bytes(
&self,
bytes: Bytes,
format: BlobFormat
) -> Result<TempTag, Error>
import a byte slice
-source§async fn import_file(
+
source§async fn import_file(
&self,
data: PathBuf,
mode: ImportMode,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> Result<(TempTag, u64), Error>
This trait method imports a file from a local path. Read moresource§async fn import_stream(
+) -> Result<(TempTag, u64), Error>
This trait method imports a file from a local path. Read moresource§async fn import_stream(
&self,
data: impl Stream<Item = Result<Bytes, Error>> + Unpin + Send,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> Result<(TempTag, u64), Error>
Import data from a stream of bytes.source§async fn set_tag(
&self,
_name: Tag,
_hash: Option<HashAndFormat>
-) -> Result<(), Error>
Set a tagsource§async fn create_tag(&self, _hash: HashAndFormat) -> Result<Tag, Error>
Create a new tagsource§fn temp_tag(&self, inner: HashAndFormat) -> TempTag
Create a temporary pin for this storesource§async fn delete(&self, _hashes: Vec<Hash>) -> Result<(), Error>
physically delete the given hashes from the store.source§async fn create_tag(&self, _hash: HashAndFormat) -> Result<Tag, Error>
Create a new tagsource§fn temp_tag(&self, inner: HashAndFormat) -> TempTag
Create a temporary pin for this storesource§async fn delete(&self, _hashes: Vec<Hash>) -> Result<(), Error>
physically delete the given hashes from the store.source§fn import_reader(
&self,
data: impl AsyncRead + Send + Unpin + 'static,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
-) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.source§fn validate(
+) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.source§fn validate(
&self,
repair: bool,
tx: BoxedProgressSender<ValidateProgress>
diff --git a/pr/2692/docs/iroh/blobs/store/struct.GcConfig.html b/pr/2692/docs/iroh/blobs/store/struct.GcConfig.html
index 7781926082..430ddd0094 100644
--- a/pr/2692/docs/iroh/blobs/store/struct.GcConfig.html
+++ b/pr/2692/docs/iroh/blobs/store/struct.GcConfig.html
@@ -1,10 +1,10 @@
-GcConfig in iroh::blobs::store - Rust pub struct GcConfig {
+GcConfig in iroh::blobs::store - Rust pub struct GcConfig {
pub period: Duration,
pub done_callback: Option<Box<dyn Fn() + Send>>,
}
Expand description
Configuration for the GC mark and sweep.
Fields§
§period: DurationThe period at which to execute the GC.
§done_callback: Option<Box<dyn Fn() + Send>>An optional callback called everytime a GC round finishes.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcConfig
§impl !RefUnwindSafe for GcConfig
§impl Send for GcConfig
§impl !Sync for GcConfig
§impl Unpin for GcConfig
§impl !UnwindSafe for GcConfig
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcConfig
§impl !RefUnwindSafe for GcConfig
§impl Send for GcConfig
§impl !Sync for GcConfig
§impl Unpin for GcConfig
§impl !UnwindSafe for GcConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh/blobs/store/trait.Map.html b/pr/2692/docs/iroh/blobs/store/trait.Map.html
index 15d3c189e5..d343a72cbd 100644
--- a/pr/2692/docs/iroh/blobs/store/trait.Map.html
+++ b/pr/2692/docs/iroh/blobs/store/trait.Map.html
@@ -22,4 +22,4 @@ to open readers for both the data and the outboard
is an entry. Creating an entry should be cheap, any expensive ops should
be deferred to the creation of the actual readers.
It is not guaranteed that the entry is complete.
- Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
+
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/store/trait.MapEntry.html b/pr/2692/docs/iroh/blobs/store/trait.MapEntry.html
index 0227add5b2..87b020296d 100644
--- a/pr/2692/docs/iroh/blobs/store/trait.MapEntry.html
+++ b/pr/2692/docs/iroh/blobs/store/trait.MapEntry.html
@@ -23,4 +23,4 @@ it only checks if the entry was marked as complete in the store.
sourcefn data_reader(
&self
) -> impl Future<Output = Result<impl AsyncSliceReader, Error>> + Send
A future that resolves to a reader that can be used to read the data
-
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
+Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/store/trait.MapEntryMut.html b/pr/2692/docs/iroh/blobs/store/trait.MapEntryMut.html
index 76b937bf4f..49cc1ab1d4 100644
--- a/pr/2692/docs/iroh/blobs/store/trait.MapEntryMut.html
+++ b/pr/2692/docs/iroh/blobs/store/trait.MapEntryMut.html
@@ -7,4 +7,4 @@
Required Methods§
sourcefn batch_writer(
&self
) -> impl Future<Output = Result<impl BaoBatchWriter, Error>> + Send
Get a batch writer
-Object Safety§
This trait is not object safe.Implementors§
source§impl MapEntryMut for iroh::blobs::store::mem::Entry
source§impl MapEntryMut for iroh::blobs::store::readonly_mem::Entry
\ No newline at end of file
+Object Safety§
This trait is not object safe.Implementors§
source§impl MapEntryMut for iroh::blobs::store::mem::Entry
source§impl MapEntryMut for iroh::blobs::store::readonly_mem::Entry
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/store/trait.MapMut.html b/pr/2692/docs/iroh/blobs/store/trait.MapMut.html
index 97eed8f72d..dc5d033a68 100644
--- a/pr/2692/docs/iroh/blobs/store/trait.MapMut.html
+++ b/pr/2692/docs/iroh/blobs/store/trait.MapMut.html
@@ -48,4 +48,4 @@ of the store the entry is present.
&self,
entry: Self::EntryMut
) -> impl Future<Output = Result<(), Error>> + SendUpgrade a partial entry to a complete entry.
-Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
+Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/store/trait.ReadableStore.html b/pr/2692/docs/iroh/blobs/store/trait.ReadableStore.html
index bd55fcf3f8..e623e6a009 100644
--- a/pr/2692/docs/iroh/blobs/store/trait.ReadableStore.html
+++ b/pr/2692/docs/iroh/blobs/store/trait.ReadableStore.html
@@ -50,4 +50,4 @@ been imported, and hash sequences that have been created internally.
target is the path to the target file
mode is a hint how the file should be exported.
progress is a callback that is called with the total number of bytes that have been written
-
Object Safety§
This trait is not object safe.Implementors§
source§impl ReadableStore for iroh::blobs::store::fs::Store
source§impl ReadableStore for iroh::blobs::store::mem::Store
source§impl ReadableStore for iroh::blobs::store::readonly_mem::Store
\ No newline at end of file
+
Object Safety§
This trait is not object safe.Implementors§
source§impl ReadableStore for iroh::blobs::store::fs::Store
source§impl ReadableStore for iroh::blobs::store::mem::Store
source§impl ReadableStore for iroh::blobs::store::readonly_mem::Store
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/store/trait.Store.html b/pr/2692/docs/iroh/blobs/store/trait.Store.html
index 42b4088877..50dd0c19d7 100644
--- a/pr/2692/docs/iroh/blobs/store/trait.Store.html
+++ b/pr/2692/docs/iroh/blobs/store/trait.Store.html
@@ -28,7 +28,13 @@
hash: HashAndFormat
) -> impl Future<Output = Result<Tag, Error>> + Send;
fn temp_tag(&self, value: HashAndFormat) -> TempTag;
- fn gc_run(&self, config: GcConfig) -> impl Future<Output = ()>;
+ fn gc_run<G, Gut>(
+ &self,
+ config: GcConfig,
+ protected_cb: G
+ ) -> impl Future<Output = ()>
+ where G: Fn() -> Gut,
+ Gut: Future<Output = BTreeSet<Hash>> + Send;
fn delete(
&self,
hashes: Vec<Hash>
@@ -86,21 +92,27 @@ implementations might be able to import a file without copying it.
hash: HashAndFormat
) -> impl Future<Output = Result<Tag, Error>> + SendCreate a new tag
sourcefn temp_tag(&self, value: HashAndFormat) -> TempTag
Create a temporary pin for this store
-
Provided Methods§
sourcefn import_reader(
&self,
data: impl AsyncRead + Send + Unpin + 'static,
format: BlobFormat,
progress: impl ProgressSender<Msg = ImportProgress> + IdGenerator
) -> impl Future<Output = Result<(TempTag, u64), Error>> + Send
Import data from an async byte reader.
-sourcefn validate(
&self,
repair: bool,
tx: BoxedProgressSender<ValidateProgress>
@@ -108,4 +120,4 @@ implementations might be able to import a file without copying it.
This will check that the file and outboard content is correct for all complete
entries, and output valid ranges for all partial entries.
It will not check the internal consistency of the database.
-
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
+
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/util/trait.TagCounter.html b/pr/2692/docs/iroh/blobs/util/trait.TagCounter.html
index f7a13c8615..f440fc374f 100644
--- a/pr/2692/docs/iroh/blobs/util/trait.TagCounter.html
+++ b/pr/2692/docs/iroh/blobs/util/trait.TagCounter.html
@@ -14,4 +14,4 @@ whereas protecting a raw blob only protects the blob itself.
Required Methods§
sourcefn on_create(&self, inner: &HashAndFormat)
Called on creation of a temp tag
Provided Methods§
sourcefn as_weak(self: &Arc<Self>) -> Weak<dyn TagDrop>
Get this as a weak reference for use in temp tags
sourcefn temp_tag(self: &Arc<Self>, inner: HashAndFormat) -> TempTag
Create a new temp tag for the given hash and format
-Object Safety§
This trait is not object safe.Implementations on Foreign Types§
source§impl TagCounter for RwLock<TempCounterMap>
source§fn on_create(&self, content: &HashAndFormat)
Implementors§
\ No newline at end of file
+
Object Safety§
This trait is not object safe.Implementations on Foreign Types§
source§impl TagCounter for RwLock<TempCounterMap>
source§fn on_create(&self, content: &HashAndFormat)
Implementors§
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/blobs/util/trait.TagDrop.html b/pr/2692/docs/iroh/blobs/util/trait.TagDrop.html
index a19a273afa..a4dcc1314d 100644
--- a/pr/2692/docs/iroh/blobs/util/trait.TagDrop.html
+++ b/pr/2692/docs/iroh/blobs/util/trait.TagDrop.html
@@ -4,4 +4,4 @@
}Expand description
Trait used from temp tags to notify an abstract store that a temp tag is
being dropped.
Required Methods§
sourcefn on_drop(&self, inner: &HashAndFormat)
Called on drop
-Implementations on Foreign Types§
Implementors§
\ No newline at end of file
+
Implementations on Foreign Types§
Implementors§
\ No newline at end of file
diff --git a/pr/2692/docs/iroh/node/index.html b/pr/2692/docs/iroh/node/index.html
index 4826057965..643ab23108 100644
--- a/pr/2692/docs/iroh/node/index.html
+++ b/pr/2692/docs/iroh/node/index.html
@@ -1,4 +1,4 @@
-iroh::node - Rust Expand description
Node API
+iroh::node - Rust Expand description
Node API
An iroh node is a server that is identified by an Ed25519 keypair and is
globally reachable via the node id, which is the
public key of the keypair.
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ConsistencyCheckProgress.html b/pr/2692/docs/iroh_blobs/store/enum.ConsistencyCheckProgress.html
index a70e302722..f1bc3cde63 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ConsistencyCheckProgress.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ConsistencyCheckProgress.html
@@ -1,4 +1,4 @@
-ConsistencyCheckProgress in iroh_blobs::store - Rust pub enum ConsistencyCheckProgress {
+ConsistencyCheckProgress in iroh_blobs::store - Rust pub enum ConsistencyCheckProgress {
Start,
Update {
message: String,
@@ -15,8 +15,8 @@
§level: ReportLevelThe level of the message
§Done
Consistency check ended
§Abort(RpcError)
We got an error and need to abort.
-Trait Implementations§
source§impl Debug for ConsistencyCheckProgress
source§impl<'de> Deserialize<'de> for ConsistencyCheckProgress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ConsistencyCheckProgress
Trait Implementations§
source§impl Debug for ConsistencyCheckProgress
source§impl<'de> Deserialize<'de> for ConsistencyCheckProgress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ConsistencyCheckProgress
§impl RefUnwindSafe for ConsistencyCheckProgress
§impl Send for ConsistencyCheckProgress
§impl Sync for ConsistencyCheckProgress
§impl Unpin for ConsistencyCheckProgress
§impl UnwindSafe for ConsistencyCheckProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2692/docs/iroh_blobs/store/enum.Event.html b/pr/2692/docs/iroh_blobs/store/enum.Event.html
index c726dc910a..8bff0782d7 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.Event.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.Event.html
@@ -1,12 +1,12 @@
-Event in iroh_blobs::store - Rust Enum iroh_blobs::store::Event
source · pub enum Event {
+Event in iroh_blobs::store - Rust Enum iroh_blobs::store::Event
source · pub enum Event {
GcStarted,
GcCompleted,
}
Expand description
Database events
Variants§
Trait Implementations§
source§impl PartialEq for Event
Trait Implementations§
source§impl PartialEq for Event
source§impl Eq for Event
source§impl StructuralPartialEq for Event
Auto Trait Implementations§
§impl Freeze for Event
§impl RefUnwindSafe for Event
§impl Send for Event
§impl Sync for Event
§impl Unpin for Event
§impl UnwindSafe for Event
Blanket Implementations§
source§impl Eq for Event
source§impl StructuralPartialEq for Event
Auto Trait Implementations§
§impl Freeze for Event
§impl RefUnwindSafe for Event
§impl Send for Event
§impl Sync for Event
§impl Unpin for Event
§impl UnwindSafe for Event
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ExportFormat.html b/pr/2692/docs/iroh_blobs/store/enum.ExportFormat.html
index f58b2ff613..115a254b68 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ExportFormat.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ExportFormat.html
@@ -1,4 +1,4 @@
-ExportFormat in iroh_blobs::store - Rust Enum iroh_blobs::store::ExportFormat
source · pub enum ExportFormat {
+ExportFormat in iroh_blobs::store - Rust Enum iroh_blobs::store::ExportFormat
source · pub enum ExportFormat {
Blob,
Collection,
}
Expand description
The expected format of a hash being exported.
@@ -10,8 +10,8 @@ collection metadata, all other children of the collection will be exported to
a file each, with their collection name treated as a relative path to the export
destination path.
If the blob cannot be parsed as a collection, the operation will fail.
-Trait Implementations§
source§impl Clone for ExportFormat
source§fn clone(&self) -> ExportFormat
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 ExportFormat
source§impl Default for ExportFormat
source§fn default() -> ExportFormat
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ExportFormat
Trait Implementations§
source§impl Clone for ExportFormat
source§fn clone(&self) -> ExportFormat
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 ExportFormat
source§impl Default for ExportFormat
source§fn default() -> ExportFormat
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ExportFormat
§impl RefUnwindSafe for ExportFormat
§impl Send for ExportFormat
§impl Sync for ExportFormat
§impl Unpin for ExportFormat
§impl UnwindSafe for ExportFormat
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ExportMode.html b/pr/2692/docs/iroh_blobs/store/enum.ExportMode.html
index ca388e7c33..7cac7e9232 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ExportMode.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ExportMode.html
@@ -1,4 +1,4 @@
-ExportMode in iroh_blobs::store - Rust Enum iroh_blobs::store::ExportMode
source · pub enum ExportMode {
+ExportMode in iroh_blobs::store - Rust Enum iroh_blobs::store::ExportMode
source · pub enum ExportMode {
Copy,
TryReference,
}
Expand description
The import mode describes how files will be imported.
@@ -15,11 +15,11 @@ the database.
the file might be modified in the target directory after it has been exported.
Stores are allowed to ignore this mode and always copy the file, e.g.
if the file is very small or if the store does not support referencing files.
-Trait Implementations§
source§impl Clone for ExportMode
source§fn clone(&self) -> ExportMode
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 ExportMode
source§impl Default for ExportMode
source§fn default() -> ExportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ExportMode
source§fn eq(&self, other: &ExportMode) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for ExportMode
source§fn clone(&self) -> ExportMode
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 ExportMode
source§impl Default for ExportMode
source§fn default() -> ExportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ExportMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ExportMode
source§fn eq(&self, other: &ExportMode) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for ExportMode
source§impl Copy for ExportMode
source§impl Eq for ExportMode
source§impl StructuralPartialEq for ExportMode
Auto Trait Implementations§
§impl Freeze for ExportMode
§impl RefUnwindSafe for ExportMode
§impl Send for ExportMode
§impl Sync for ExportMode
§impl Unpin for ExportMode
§impl UnwindSafe for ExportMode
Blanket Implementations§
source§impl Serialize for ExportMode
source§impl Copy for ExportMode
source§impl Eq for ExportMode
source§impl StructuralPartialEq for ExportMode
Auto Trait Implementations§
§impl Freeze for ExportMode
§impl RefUnwindSafe for ExportMode
§impl Send for ExportMode
§impl Sync for ExportMode
§impl Unpin for ExportMode
§impl UnwindSafe for ExportMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ExportProgress.html b/pr/2692/docs/iroh_blobs/store/enum.ExportProgress.html
index 6b6c26136e..43cf13e1c2 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ExportProgress.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ExportProgress.html
@@ -1,4 +1,4 @@
-ExportProgress in iroh_blobs::store - Rust Enum iroh_blobs::store::ExportProgress
source · pub enum ExportProgress {
+ExportProgress in iroh_blobs::store - Rust Enum iroh_blobs::store::ExportProgress
source · pub enum ExportProgress {
Start {
id: u64,
hash: Hash,
@@ -18,7 +18,7 @@
This will be omitted if the store can move the file or use copy on write
There will be multiple of these messages for an id
§Done
Done exporting
-
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ExportProgress
§impl RefUnwindSafe for ExportProgress
§impl Send for ExportProgress
§impl Sync for ExportProgress
§impl Unpin for ExportProgress
§impl UnwindSafe for ExportProgress
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ExportProgress
§impl RefUnwindSafe for ExportProgress
§impl Send for ExportProgress
§impl Sync for ExportProgress
§impl Unpin for ExportProgress
§impl UnwindSafe for ExportProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.GcMarkEvent.html b/pr/2692/docs/iroh_blobs/store/enum.GcMarkEvent.html
index bc3f80e4ae..273470e163 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.GcMarkEvent.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.GcMarkEvent.html
@@ -1,4 +1,4 @@
-GcMarkEvent in iroh_blobs::store - Rust Enum iroh_blobs::store::GcMarkEvent
source · pub enum GcMarkEvent {
+GcMarkEvent in iroh_blobs::store - Rust Enum iroh_blobs::store::GcMarkEvent
source · pub enum GcMarkEvent {
CustomDebug(String),
CustomWarning(String, Option<Error>),
Error(Error),
@@ -6,7 +6,7 @@
Variants§
§CustomDebug(String)
A custom event (info)
§CustomWarning(String, Option<Error>)
A custom non critical error
§Error(Error)
An unrecoverable error during GC
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcMarkEvent
§impl RefUnwindSafe for GcMarkEvent
§impl Send for GcMarkEvent
§impl Sync for GcMarkEvent
§impl Unpin for GcMarkEvent
§impl UnwindSafe for GcMarkEvent
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcMarkEvent
§impl RefUnwindSafe for GcMarkEvent
§impl Send for GcMarkEvent
§impl Sync for GcMarkEvent
§impl Unpin for GcMarkEvent
§impl UnwindSafe for GcMarkEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.GcSweepEvent.html b/pr/2692/docs/iroh_blobs/store/enum.GcSweepEvent.html
index aaa6024f72..193ad4e880 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.GcSweepEvent.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.GcSweepEvent.html
@@ -1,4 +1,4 @@
-GcSweepEvent in iroh_blobs::store - Rust Enum iroh_blobs::store::GcSweepEvent
source · pub enum GcSweepEvent {
+GcSweepEvent in iroh_blobs::store - Rust Enum iroh_blobs::store::GcSweepEvent
source · pub enum GcSweepEvent {
CustomDebug(String),
CustomWarning(String, Option<Error>),
Error(Error),
@@ -6,7 +6,7 @@
Variants§
§CustomDebug(String)
A custom event (debug)
§CustomWarning(String, Option<Error>)
A custom non critical error
§Error(Error)
An unrecoverable error during GC
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcSweepEvent
§impl RefUnwindSafe for GcSweepEvent
§impl Send for GcSweepEvent
§impl Sync for GcSweepEvent
§impl Unpin for GcSweepEvent
§impl UnwindSafe for GcSweepEvent
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for GcSweepEvent
§impl RefUnwindSafe for GcSweepEvent
§impl Send for GcSweepEvent
§impl Sync for GcSweepEvent
§impl Unpin for GcSweepEvent
§impl UnwindSafe for GcSweepEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ImportMode.html b/pr/2692/docs/iroh_blobs/store/enum.ImportMode.html
index bdec85785b..2bc78bf70b 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ImportMode.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ImportMode.html
@@ -1,4 +1,4 @@
-ImportMode in iroh_blobs::store - Rust Enum iroh_blobs::store::ImportMode
source · pub enum ImportMode {
+ImportMode in iroh_blobs::store - Rust Enum iroh_blobs::store::ImportMode
source · pub enum ImportMode {
Copy,
TryReference,
}
Expand description
The import mode describes how files will be imported.
@@ -14,11 +14,11 @@ after it has been imported.
the file might be modified after it has been imported.
Stores are allowed to ignore this mode and always copy the file, e.g.
if the file is very small or if the store does not support referencing files.
-Trait Implementations§
source§impl Clone for ImportMode
source§fn clone(&self) -> ImportMode
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 ImportMode
source§impl Default for ImportMode
source§fn default() -> ImportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ImportMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImportMode
source§fn eq(&self, other: &ImportMode) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for ImportMode
source§fn clone(&self) -> ImportMode
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 ImportMode
source§impl Default for ImportMode
source§fn default() -> ImportMode
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ImportMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for ImportMode
source§fn eq(&self, other: &ImportMode) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for ImportMode
source§impl Copy for ImportMode
source§impl Eq for ImportMode
source§impl StructuralPartialEq for ImportMode
Auto Trait Implementations§
§impl Freeze for ImportMode
§impl RefUnwindSafe for ImportMode
§impl Send for ImportMode
§impl Sync for ImportMode
§impl Unpin for ImportMode
§impl UnwindSafe for ImportMode
Blanket Implementations§
source§impl Serialize for ImportMode
source§impl Copy for ImportMode
source§impl Eq for ImportMode
source§impl StructuralPartialEq for ImportMode
Auto Trait Implementations§
§impl Freeze for ImportMode
§impl RefUnwindSafe for ImportMode
§impl Send for ImportMode
§impl Sync for ImportMode
§impl Unpin for ImportMode
§impl UnwindSafe for ImportMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ImportProgress.html b/pr/2692/docs/iroh_blobs/store/enum.ImportProgress.html
index b6ddc853c7..cffa9e6513 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ImportProgress.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ImportProgress.html
@@ -1,4 +1,4 @@
-ImportProgress in iroh_blobs::store - Rust Enum iroh_blobs::store::ImportProgress
source · pub enum ImportProgress {
+ImportProgress in iroh_blobs::store - Rust Enum iroh_blobs::store::ImportProgress
source · pub enum ImportProgress {
Found {
id: u64,
name: String,
@@ -35,7 +35,7 @@ is fully copied.
There will be multiple of these messages for an id
§OutboardDone
Done computing the outboard
This comes after Size and zero or more OutboardProgress messages
-
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ImportProgress
§impl RefUnwindSafe for ImportProgress
§impl Send for ImportProgress
§impl Sync for ImportProgress
§impl Unpin for ImportProgress
§impl UnwindSafe for ImportProgress
Blanket Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for ImportProgress
§impl RefUnwindSafe for ImportProgress
§impl Send for ImportProgress
§impl Sync for ImportProgress
§impl Unpin for ImportProgress
§impl UnwindSafe for ImportProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ReportLevel.html b/pr/2692/docs/iroh_blobs/store/enum.ReportLevel.html
index 1017f72ba0..7b42dc68bf 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ReportLevel.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ReportLevel.html
@@ -1,4 +1,4 @@
-ReportLevel in iroh_blobs::store - Rust Enum iroh_blobs::store::ReportLevel
source · pub enum ReportLevel {
+ReportLevel in iroh_blobs::store - Rust Enum iroh_blobs::store::ReportLevel
source · pub enum ReportLevel {
Trace,
Info,
Warn,
@@ -8,16 +8,16 @@
§Info
Info messages
§Warn
Warnings, something is not quite right
§Error
Errors, something is very wrong
-
Trait Implementations§
source§impl Clone for ReportLevel
source§fn clone(&self) -> ReportLevel
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 ReportLevel
source§impl<'de> Deserialize<'de> for ReportLevel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ReportLevel
source§impl Ord for ReportLevel
source§fn cmp(&self, other: &ReportLevel) -> Ordering
Trait Implementations§
source§impl Clone for ReportLevel
source§fn clone(&self) -> ReportLevel
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 ReportLevel
source§impl<'de> Deserialize<'de> for ReportLevel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ReportLevel
source§impl Ord for ReportLevel
source§fn cmp(&self, other: &ReportLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for ReportLevel
source§impl PartialEq for ReportLevel
source§fn eq(&self, other: &ReportLevel) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl PartialOrd for ReportLevel
source§impl PartialOrd for ReportLevel
source§fn partial_cmp(&self, other: &ReportLevel) -> Option<Ordering>
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 ReportLevel
source§impl Copy for ReportLevel
source§impl Eq for ReportLevel
source§impl StructuralPartialEq for ReportLevel
Auto Trait Implementations§
§impl Freeze for ReportLevel
§impl RefUnwindSafe for ReportLevel
§impl Send for ReportLevel
§impl Sync for ReportLevel
§impl Unpin for ReportLevel
§impl UnwindSafe for ReportLevel
Blanket Implementations§
source§impl Serialize for ReportLevel
source§impl Copy for ReportLevel
source§impl Eq for ReportLevel
source§impl StructuralPartialEq for ReportLevel
Auto Trait Implementations§
§impl Freeze for ReportLevel
§impl RefUnwindSafe for ReportLevel
§impl Send for ReportLevel
§impl Sync for ReportLevel
§impl Unpin for ReportLevel
§impl UnwindSafe for ReportLevel
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/enum.ValidateProgress.html b/pr/2692/docs/iroh_blobs/store/enum.ValidateProgress.html
index f5b89b2f7f..f140119deb 100644
--- a/pr/2692/docs/iroh_blobs/store/enum.ValidateProgress.html
+++ b/pr/2692/docs/iroh_blobs/store/enum.ValidateProgress.html
@@ -1,4 +1,4 @@
-ValidateProgress in iroh_blobs::store - Rust Enum iroh_blobs::store::ValidateProgress
source · pub enum ValidateProgress {
+ValidateProgress in iroh_blobs::store - Rust Enum iroh_blobs::store::ValidateProgress
source · pub enum ValidateProgress {
Starting {
total: u64,
},
@@ -63,8 +63,8 @@ Otherwise it might be an url or something else to uniquely identify the entry.
§AllDone
We are done with the whole operation.
§Abort(RpcError)
We got an error and need to abort.
-Trait Implementations§
source§impl Debug for ValidateProgress
source§impl<'de> Deserialize<'de> for ValidateProgress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Serialize for ValidateProgress
Trait Implementations§
source§impl Debug for ValidateProgress
source§impl<'de> Deserialize<'de> for ValidateProgress
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for ValidateProgress
§impl RefUnwindSafe for ValidateProgress
§impl Send for ValidateProgress
§impl Sync for ValidateProgress
§impl Unpin for ValidateProgress
§impl UnwindSafe for ValidateProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2692/docs/iroh_blobs/store/fs/index.html b/pr/2692/docs/iroh_blobs/store/fs/index.html
index 32ac03b6a2..e786e15ea6 100644
--- a/pr/2692/docs/iroh_blobs/store/fs/index.html
+++ b/pr/2692/docs/iroh_blobs/store/fs/index.html
@@ -1,4 +1,4 @@
-iroh_blobs::store::fs - Rust Module iroh_blobs::store::fs
source · Expand description
redb backed storage
+iroh_blobs::store::fs - Rust Module iroh_blobs::store::fs
source · Expand description
redb backed storage
Data can get into the store in two ways:
- import from local data
diff --git a/pr/2692/docs/iroh_blobs/store/fs/struct.BatchOptions.html b/pr/2692/docs/iroh_blobs/store/fs/struct.BatchOptions.html
index 25f8fdf240..5b8ef60fa7 100644
--- a/pr/2692/docs/iroh_blobs/store/fs/struct.BatchOptions.html
+++ b/pr/2692/docs/iroh_blobs/store/fs/struct.BatchOptions.html
@@ -1,4 +1,4 @@
-BatchOptions in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::BatchOptions
source · pub struct BatchOptions {
+BatchOptions in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::BatchOptions
source · pub struct BatchOptions {
pub max_read_batch: usize,
pub max_read_duration: Duration,
pub max_write_batch: usize,
@@ -8,7 +8,7 @@
§max_read_duration: DurationMaximum duration to wait before committing a read transaction.
§max_write_batch: usizeMaximum number of actor messages to batch before committing write transaction.
§max_write_duration: DurationMaximum duration to wait before committing a write transaction.
-Trait Implementations§
source§impl Clone for BatchOptions
source§fn clone(&self) -> BatchOptions
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 BatchOptions
Auto Trait Implementations§
§impl Freeze for BatchOptions
§impl RefUnwindSafe for BatchOptions
§impl Send for BatchOptions
§impl Sync for BatchOptions
§impl Unpin for BatchOptions
§impl UnwindSafe for BatchOptions
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
source§impl Clone for BatchOptions
source§fn clone(&self) -> BatchOptions
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 BatchOptions
Auto Trait Implementations§
§impl Freeze for BatchOptions
§impl RefUnwindSafe for BatchOptions
§impl Send for BatchOptions
§impl Sync for BatchOptions
§impl Unpin for BatchOptions
§impl UnwindSafe for BatchOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/fs/struct.InlineOptions.html b/pr/2692/docs/iroh_blobs/store/fs/struct.InlineOptions.html
index ac40fc8efe..40699d7386 100644
--- a/pr/2692/docs/iroh_blobs/store/fs/struct.InlineOptions.html
+++ b/pr/2692/docs/iroh_blobs/store/fs/struct.InlineOptions.html
@@ -1,12 +1,12 @@
-InlineOptions in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::InlineOptions
source · pub struct InlineOptions {
+InlineOptions in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::InlineOptions
source · pub struct InlineOptions {
pub max_data_inlined: u64,
pub max_outboard_inlined: u64,
}
Expand description
Options for inlining small complete data or outboards.
Fields§
§max_data_inlined: u64Maximum data size to inline.
§max_outboard_inlined: u64Maximum outboard size to inline.
-Implementations§
source§impl InlineOptions
sourcepub const ALWAYS_INLINE: Self = _
Always inline everything
-Trait Implementations§
source§impl Clone for InlineOptions
source§fn clone(&self) -> InlineOptions
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 InlineOptions
Auto Trait Implementations§
§impl Freeze for InlineOptions
§impl RefUnwindSafe for InlineOptions
§impl Send for InlineOptions
§impl Sync for InlineOptions
§impl Unpin for InlineOptions
§impl UnwindSafe for InlineOptions
Blanket Implementations§
source§impl<T> Any for Twhere
+Implementations§
source§impl InlineOptions
sourcepub const ALWAYS_INLINE: Self = _
Always inline everything
+Trait Implementations§
source§impl Clone for InlineOptions
source§fn clone(&self) -> InlineOptions
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 InlineOptions
Auto Trait Implementations§
§impl Freeze for InlineOptions
§impl RefUnwindSafe for InlineOptions
§impl Send for InlineOptions
§impl Sync for InlineOptions
§impl Unpin for InlineOptions
§impl UnwindSafe for InlineOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/fs/struct.Options.html b/pr/2692/docs/iroh_blobs/store/fs/struct.Options.html
index 4b3d0e8b8b..e24c72fe37 100644
--- a/pr/2692/docs/iroh_blobs/store/fs/struct.Options.html
+++ b/pr/2692/docs/iroh_blobs/store/fs/struct.Options.html
@@ -1,4 +1,4 @@
-Options in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::Options
source · pub struct Options {
+Options in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::Options
source · pub struct Options {
pub path: PathOptions,
pub inline: InlineOptions,
pub batch: BatchOptions,
@@ -6,7 +6,7 @@
Fields§
§path: PathOptionsPath options.
§inline: InlineOptionsInline storage options.
§batch: BatchOptionsTransaction batching options.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Options
§impl RefUnwindSafe for Options
§impl Send for Options
§impl Sync for Options
§impl Unpin for Options
§impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> Any for Twhere
+Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Options
§impl RefUnwindSafe for Options
§impl Send for Options
§impl Sync for Options
§impl Unpin for Options
§impl UnwindSafe for Options
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2692/docs/iroh_blobs/store/fs/struct.PathOptions.html b/pr/2692/docs/iroh_blobs/store/fs/struct.PathOptions.html
index 02393d83ce..41e2ffedc4 100644
--- a/pr/2692/docs/iroh_blobs/store/fs/struct.PathOptions.html
+++ b/pr/2692/docs/iroh_blobs/store/fs/struct.PathOptions.html
@@ -1,4 +1,4 @@
-PathOptions in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::fs::PathOptions
source · pub struct PathOptions {
+PathOptions in iroh_blobs::store::fs - Rust Struct iroh_blobs::store::