Struct trait_net::metrics::MeteredFuture
source · pub struct MeteredFuture<Obs, Fut, Out>{ /* private fields */ }
Trait Implementations§
source§impl<Obs, Fut, Out> Drop for MeteredFuture<Obs, Fut, Out>
impl<Obs, Fut, Out> Drop for MeteredFuture<Obs, Fut, Out>
source§impl<Obs, Fut, Out> Future for MeteredFuture<Obs, Fut, Out>
impl<Obs, Fut, Out> Future for MeteredFuture<Obs, Fut, Out>
Auto Trait Implementations§
impl<Obs, Fut, Out> RefUnwindSafe for MeteredFuture<Obs, Fut, Out>where
Fut: RefUnwindSafe,
Obs: RefUnwindSafe,
impl<Obs, Fut, Out> Send for MeteredFuture<Obs, Fut, Out>
impl<Obs, Fut, Out> Sync for MeteredFuture<Obs, Fut, Out>
impl<Obs, Fut, Out> Unpin for MeteredFuture<Obs, Fut, Out>
impl<Obs, Fut, Out> UnwindSafe for MeteredFuture<Obs, Fut, Out>where
Fut: UnwindSafe,
Obs: UnwindSafe,
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more