[][src]Struct tower_load::peak_ewma::Cost

pub struct Cost(_);

Represents the relative cost of communicating with a service.

The underlying value estimates the amount of pending work to a service: the Peak-EWMA latency estimate multiplied by the number of pending requests.

Trait Implementations

impl Clone for Cost[src]

impl Copy for Cost[src]

impl Debug for Cost[src]

impl PartialEq<Cost> for Cost[src]

impl PartialOrd<Cost> for Cost[src]

impl StructuralPartialEq for Cost[src]

Auto Trait Implementations

impl RefUnwindSafe for Cost

impl Send for Cost

impl Sync for Cost

impl Unpin for Cost

impl UnwindSafe for Cost

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.