[−][src]Struct fibers_rpc::metrics::ChannelMetrics
RPC channel metrics.
Methods
impl ChannelMetrics
[src]
pub fn fiber_yielded(&self) -> u64
[src]
Metric: fibers_rpc_channel_fiber_yielded_total { role="server|client" } <COUNTER>
.
pub fn async_outgoing_messages(&self) -> u64
[src]
Metric: fibers_rpc_async_outgoing_messages_total { role="server|client" } <COUNTER>
.
pub fn async_incoming_messages(&self) -> u64
[src]
Metric: fibers_rpc_async_incoming_messages_total { role="server|client" } <COUNTER>
.
pub fn enqueued_outgoing_messages(&self) -> u64
[src]
Metric: fibers_rpc_channel_enqueued_outgoing_messages_total { role="server|client" } <COUNTER>
.
pub fn dequeued_outgoing_messages(&self) -> u64
[src]
Metric: fibers_rpc_channel_dequeued_outgoing_messages_total { role="server|client" } <COUNTER>
.
pub fn queue_len(&self) -> u64
[src]
Returns the number of messages in the transmit queue of the channel.
PromQL: fibers_rpc_channel_enqueued_outgoing_messages_total - fibers_rpc_channel_dequeued_outgoing_messages_total
Trait Implementations
impl Drop for ChannelMetrics
[src]
impl Clone for ChannelMetrics
[src]
fn clone(&self) -> ChannelMetrics
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChannelMetrics
[src]
Auto Trait Implementations
impl Unpin for ChannelMetrics
impl Sync for ChannelMetrics
impl Send for ChannelMetrics
impl UnwindSafe for ChannelMetrics
impl RefUnwindSafe for ChannelMetrics
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,