Struct Count

struct Count(_)

Represents the number of currently-pending requests to a given service.

Implementations

impl Clone for Count

fn clone(self: &Self) -> Count

impl Copy for Count

impl Debug for Count

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for Count

fn default() -> Count

impl Eq for Count

impl Freeze for Count

impl Ord for Count

fn cmp(self: &Self, other: &Count) -> $crate::cmp::Ordering

impl PartialEq for Count

fn eq(self: &Self, other: &Count) -> bool

impl PartialOrd for Count

fn partial_cmp(self: &Self, other: &Count) -> $crate::option::Option<$crate::cmp::Ordering>

impl RefUnwindSafe for Count

impl Send for Count

impl StructuralPartialEq for Count

impl Sync for Count

impl Unpin for Count

impl UnwindSafe for Count

impl<Q, K> Comparable for Count

fn compare(self: &Self, key: &K) -> Ordering

impl<Q, K> Equivalent for Count

fn equivalent(self: &Self, key: &K) -> bool

impl<Q, K> Equivalent for Count

fn equivalent(self: &Self, key: &K) -> bool

impl<T> Any for Count

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Count

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Count

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Count

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Count

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for Count

impl<T> ToOwned for Count

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> WithSubscriber for Count

impl<T, U> Into for Count

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Count

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Count

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>