1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Aggregate counters produced by a bulk spool-to-remote sync.
//!
//! Returned by [`super::manager::OracleTraceStorage::sync_pending`]
//! so callers can log progress or alert on failures.
//!
//! # Examples
//!
//! ```ignore
//! let stats = storage.sync_pending().await?;
//! println!("uploaded={} failed={}", stats.uploaded, stats.failed);
//! ```
use ;
/// Counters from a single sync pass over the local spool.
///
/// `retained` includes both intentionally-kept and
/// failed-to-upload files. `pending_after` reflects the spool
/// state after the pass completes.
///
/// # Examples
///
/// ```ignore
/// let stats = OracleTraceSyncStats::default();
/// assert_eq!(stats.uploaded, 0);
/// ```