Struct sc_rpc_server::middleware::RpcMetrics
source · pub struct RpcMetrics { /* private fields */ }
Expand description
Metrics for RPC middleware storing information about the number of requests started/completed, calls started/completed and their timings.
Implementations§
source§impl RpcMetrics
impl RpcMetrics
Trait Implementations§
source§impl Clone for RpcMetrics
impl Clone for RpcMetrics
source§fn clone(&self) -> RpcMetrics
fn clone(&self) -> RpcMetrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more