pub struct WaveResult {
pub stored: Vec<XorName>,
pub failed: Vec<(XorName, String)>,
pub chunk_attempts_total: usize,
pub store_durations_ms: Vec<u64>,
pub retries_per_chunk: Vec<u32>,
}Expand description
Result of storing a wave of paid chunks, with retry tracking.
Fields§
§stored: Vec<XorName>Successfully stored chunk addresses.
failed: Vec<(XorName, String)>Chunks that failed to store after all retries.
chunk_attempts_total: usizeSum of store-RPC attempts across all chunks in this wave (>= stored.len() + failed.len()).
store_durations_ms: Vec<u64>Per-chunk wall-clock (ms) from first attempt to successful store. Only populated for stored chunks.
retries_per_chunk: Vec<u32>Histogram of which retry-round each stored chunk succeeded on (index 0 = first attempt).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaveResult
impl RefUnwindSafe for WaveResult
impl Send for WaveResult
impl Sync for WaveResult
impl Unpin for WaveResult
impl UnsafeUnpin for WaveResult
impl UnwindSafe for WaveResult
Blanket Implementations§
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
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