Struct sc_client_api::client::IoInfo
source · pub struct IoInfo {
pub transactions: u64,
pub bytes_read: u64,
pub bytes_written: u64,
pub writes: u64,
pub reads: u64,
pub average_transaction_size: u64,
pub state_reads: u64,
pub state_reads_cache: u64,
pub state_writes: u64,
pub state_writes_cache: u64,
pub state_writes_nodes: u64,
}
Expand description
I/O statistics for client instance.
Fields§
§transactions: u64
Number of transactions.
bytes_read: u64
Total bytes read from disk.
bytes_written: u64
Total bytes written to disk.
writes: u64
Total key writes to disk.
reads: u64
Total key reads from disk.
average_transaction_size: u64
Average size of the transaction.
state_reads: u64
State reads (keys)
state_reads_cache: u64
State reads (keys) from cache.
state_writes: u64
State reads (keys)
state_writes_cache: u64
State write (keys) already cached.
state_writes_nodes: u64
State write (trie nodes) to backend db.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IoInfo
impl Send for IoInfo
impl Sync for IoInfo
impl Unpin for IoInfo
impl UnwindSafe for IoInfo
Blanket Implementations§
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
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, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.