pub struct HandledRequest {
pub request: Arc<Request>,
pub loaded_url: Option<Url>,
pub outcome: RequestFinalState,
pub response_status: Option<StatusCode>,
pub retry_count: u32,
pub duration: Duration,
}Expand description
The terminal result of processing one request.
Fields§
§request: Arc<Request>The request that was processed.
loaded_url: Option<Url>The final URL after redirects, when navigation occurred.
outcome: RequestFinalStateThe request’s terminal state.
response_status: Option<StatusCode>The response status, when a response was received.
retry_count: u32The number of retry attempts made.
duration: DurationThe total processing duration accumulated across every attempt of this request, including retried attempts.
Trait Implementations§
Source§impl Clone for HandledRequest
impl Clone for HandledRequest
Source§fn clone(&self) -> HandledRequest
fn clone(&self) -> HandledRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HandledRequest
impl RefUnwindSafe for HandledRequest
impl Send for HandledRequest
impl Sync for HandledRequest
impl Unpin for HandledRequest
impl UnsafeUnpin for HandledRequest
impl UnwindSafe for HandledRequest
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