pub struct SyncCost {Show 15 fields
pub calls_out: u64,
pub peer_requests: u64,
pub courier_rungs: u64,
pub storage_reads: u64,
pub storage_writes: u64,
pub d1_queries: u64,
pub courier_not_found_memo_hits: u64,
pub peer_absent_memo_hits: u64,
pub batch_requests: u64,
pub batch_nodes: u64,
pub storage_batches: u64,
pub storage_statements: u64,
pub ms: u64,
pub outputs_walked: u64,
pub ms_per_1000_outputs: Option<u64>,
}Expand description
Storage figures count attempted trait calls, including failures. They are operations, not SQL rows; discovery lookups count as peer requests.
Fields§
§calls_out: u64§peer_requests: u64§courier_rungs: u64§storage_reads: u64§storage_writes: u64§d1_queries: u64§courier_not_found_memo_hits: u64§peer_absent_memo_hits: u64Requests the peers’ remembered absence saved (engine 0.1.15): an input the peer answered it does not hold, needed again in the same sync, or a root whose counted absence waits out its gap or backoff.
batch_requests: u64Batch node requests sent (engine 0.2.1, #58): each is one body, also
counted in calls_out and peer_requests.
batch_nodes: u64Nodes the batch answers served, each in place of a single request.
storage_batches: u64Page batches the storage applied (engine 0.2.2): each is one
storage write, also counted in storage_writes.
storage_statements: u64The statements those batches ran, each in place of a write of its own.
ms: u64§outputs_walked: u64§ms_per_1000_outputs: Option<u64>Implementations§
Trait Implementations§
impl Copy for SyncCost
Source§impl<'de> Deserialize<'de> for SyncCost
impl<'de> Deserialize<'de> for SyncCost
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SyncCost
impl StructuralPartialEq for SyncCost
Auto Trait Implementations§
impl Freeze for SyncCost
impl RefUnwindSafe for SyncCost
impl Send for SyncCost
impl Sync for SyncCost
impl Unpin for SyncCost
impl UnsafeUnpin for SyncCost
impl UnwindSafe for SyncCost
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