pub struct PendingRequest {
pub response_tx: ResponseSender,
pub started_at: DateTime<Utc>,
pub is_streaming: bool,
}Expand description
A pending HTTP request waiting for a response
Fields§
§response_tx: ResponseSenderChannel to send the response back
started_at: DateTime<Utc>Request timestamp for timeout tracking
is_streaming: boolIs this a streaming request?
Auto Trait Implementations§
impl !RefUnwindSafe for PendingRequest
impl !UnwindSafe for PendingRequest
impl Freeze for PendingRequest
impl Send for PendingRequest
impl Sync for PendingRequest
impl Unpin for PendingRequest
impl UnsafeUnpin for PendingRequest
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