Struct WithDispatch
struct WithDispatch<T> { ... }
A Future that has been instrumented with a tracing Subscriber.
This type is returned by the WithSubscriber extension trait. See that
trait's documentation for details.
Implementations
impl<T> WithDispatch<T>
fn dispatcher(self: &Self) -> &DispatchBorrows the
Dispatchthat is entered when this type is polled.fn inner(self: &Self) -> &TBorrows the wrapped type.
fn inner_mut(self: &mut Self) -> &mut TMutably borrows the wrapped type.
fn inner_pin_ref(self: Pin<&Self>) -> Pin<&T>Get a pinned reference to the wrapped type.
fn inner_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T>Get a pinned mutable reference to the wrapped type.
fn into_inner(self: Self) -> TConsumes the
Instrumented, returning the wrapped type.Note that this drops the span.
impl<'__pin, T> Unpin for WithDispatch<T>
impl<F> IntoFuture for WithDispatch<T>
fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture
impl<T> Any for WithDispatch<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for WithDispatch<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for WithDispatch<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for WithDispatch<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for WithDispatch<T>
impl<T> From for WithDispatch<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for WithDispatch<T>
impl<T> RefUnwindSafe for WithDispatch<T>
impl<T> Send for WithDispatch<T>
impl<T> Sync for WithDispatch<T>
impl<T> ToOwned for WithDispatch<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> UnsafeUnpin for WithDispatch<T>
impl<T> UnwindSafe for WithDispatch<T>
impl<T> WithSubscriber for WithDispatch<T>
impl<T, U> Into for WithDispatch<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for WithDispatch<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for WithDispatch<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::clone::Clone> Clone for WithDispatch<T>
fn clone(self: &Self) -> WithDispatch<T>
impl<T: $crate::fmt::Debug> Debug for WithDispatch<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T: Future> Future for WithDispatch<T>
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>