pub struct BlobTreeIndexReport {
pub origin: String,
pub key: String,
pub root: String,
pub entries: usize,
pub files: usize,
pub total_size: u64,
pub chunks: usize,
pub elapsed_ms: u64,
pub priority: String,
}Expand description
A validated tree-index summary from one origin (RFC 07 §2.3, v1.17): inspection without a content store. The reply chain is untrusted at every step — index chunks verify against their own addresses and the reassembled index verifies against the root the caller asked for — so this is pinned by construction, and browsing a tree costs its index, never its content.
Fields§
§origin: String§key: StringThe one concrete key asked.
root: StringThe identity fetched — also the pin.
entries: usizeDirectory entries of every kind.
files: usizeFiles among them.
total_size: u64Total content bytes the snapshot references.
chunks: usizeDistinct content chunks the snapshot references.
elapsed_ms: u64§priority: StringTrait Implementations§
Source§impl Clone for BlobTreeIndexReport
impl Clone for BlobTreeIndexReport
Source§fn clone(&self) -> BlobTreeIndexReport
fn clone(&self) -> BlobTreeIndexReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlobTreeIndexReport
impl Debug for BlobTreeIndexReport
Auto Trait Implementations§
impl Freeze for BlobTreeIndexReport
impl RefUnwindSafe for BlobTreeIndexReport
impl Send for BlobTreeIndexReport
impl Sync for BlobTreeIndexReport
impl Unpin for BlobTreeIndexReport
impl UnsafeUnpin for BlobTreeIndexReport
impl UnwindSafe for BlobTreeIndexReport
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more