pub struct WithDispatch<T> { /* private fields */ }
Expand description
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.
Trait Implementations§
Source§impl<T: Clone> Clone for WithDispatch<T>
impl<T: Clone> Clone for WithDispatch<T>
Source§fn clone(&self) -> WithDispatch<T>
fn clone(&self) -> WithDispatch<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for WithDispatch<T>
impl<T: Debug> Debug for WithDispatch<T>
impl<'__pin, T> Unpin for WithDispatch<T>where
PinnedFieldsOf<__Origin<'__pin, T>>: Unpin,
Auto Trait Implementations§
impl<T> Freeze for WithDispatch<T>where
T: Freeze,
impl<T> !RefUnwindSafe for WithDispatch<T>
impl<T> Send for WithDispatch<T>where
T: Send,
impl<T> Sync for WithDispatch<T>where
T: Sync,
impl<T> !UnwindSafe for WithDispatch<T>
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