Struct Handle

struct Handle { ... }

Tracks an in-flight request and updates the RTT-estimate on Drop.

Implementations

impl Debug for Handle

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

impl Drop for Handle

fn drop(self: &mut Self)

impl Freeze for Handle

impl RefUnwindSafe for Handle

impl Send for Handle

impl Sync for Handle

impl Unpin for Handle

impl UnwindSafe for Handle

impl<T> Any for Handle

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Handle

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

impl<T> BorrowMut for Handle

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

impl<T> From for Handle

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for Handle

impl<T> WithSubscriber for Handle

impl<T, U> Into for Handle

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 Handle

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

impl<T, U> TryInto for Handle

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