pub struct TrackedRequest<Req> {
pub request: Request<Req>,
pub abort_registration: AbortRegistration,
pub span: Span,
pub response_guard: ResponseGuard,
}Expand description
A request tracked by a Channel.
Fields§
§request: Request<Req>The request sent by the client.
abort_registration: AbortRegistrationA registration to abort a future when the Channel that produced this request stops
tracking it.
span: SpanA span representing the server processing of this request.
response_guard: ResponseGuardAn inert response guard. Becomes active in an InFlightRequest.
Trait Implementations§
Auto Trait Implementations§
impl<Req> Freeze for TrackedRequest<Req>where
Req: Freeze,
impl<Req> !RefUnwindSafe for TrackedRequest<Req>
impl<Req> Send for TrackedRequest<Req>where
Req: Send,
impl<Req> Sync for TrackedRequest<Req>where
Req: Sync,
impl<Req> Unpin for TrackedRequest<Req>where
Req: Unpin,
impl<Req> !UnwindSafe for TrackedRequest<Req>
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