Struct sc_rpc_server::middleware::metrics::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§
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for RpcMetrics
impl Send for RpcMetrics
impl Sync for RpcMetrics
impl Unpin for RpcMetrics
impl !UnwindSafe for RpcMetrics
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