pub struct RpcServerMetricsRecorder { /* private fields */ }Implementations§
Source§impl RpcServerMetricsRecorder
impl RpcServerMetricsRecorder
pub fn new() -> Self
pub fn snapshot(&self) -> RpcServerMetricsSnapshot
Trait Implementations§
Source§impl Debug for RpcServerMetricsRecorder
impl Debug for RpcServerMetricsRecorder
Source§impl Default for RpcServerMetricsRecorder
impl Default for RpcServerMetricsRecorder
Source§fn default() -> RpcServerMetricsRecorder
fn default() -> RpcServerMetricsRecorder
Returns the “default value” for a type. Read more
Source§impl RpcServerMetricsSink for RpcServerMetricsRecorder
impl RpcServerMetricsSink for RpcServerMetricsRecorder
fn record(&self, event: RpcServerMetricEvent)
Auto Trait Implementations§
impl !Freeze for RpcServerMetricsRecorder
impl RefUnwindSafe for RpcServerMetricsRecorder
impl Send for RpcServerMetricsRecorder
impl Sync for RpcServerMetricsRecorder
impl Unpin for RpcServerMetricsRecorder
impl UnsafeUnpin for RpcServerMetricsRecorder
impl UnwindSafe for RpcServerMetricsRecorder
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