pub struct ResourceTiming {Show 21 fields
pub request_time: f64,
pub proxy_start: f64,
pub proxy_end: f64,
pub dns_start: f64,
pub dns_end: f64,
pub connect_start: f64,
pub connect_end: f64,
pub ssl_start: f64,
pub ssl_end: f64,
pub worker_start: f64,
pub worker_ready: f64,
pub worker_fetch_start: f64,
pub worker_respond_with_settled: f64,
pub worker_router_evaluation_start: Option<f64>,
pub worker_cache_lookup_start: Option<f64>,
pub send_start: f64,
pub send_end: f64,
pub push_start: f64,
pub push_end: f64,
pub receive_headers_start: f64,
pub receive_headers_end: f64,
}
Expand description
Timing information for the request. ResourceTiming
Fields§
§request_time: f64
Timing’s requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
proxy_start: f64
Started resolving proxy.
proxy_end: f64
Finished resolving proxy.
dns_start: f64
Started DNS address resolve.
dns_end: f64
Finished DNS address resolve.
connect_start: f64
Started connecting to the remote host.
connect_end: f64
Connected to the remote host.
ssl_start: f64
Started SSL handshake.
ssl_end: f64
Finished SSL handshake.
worker_start: f64
Started running ServiceWorker.
worker_ready: f64
Finished Starting ServiceWorker.
worker_fetch_start: f64
Started fetch event.
worker_respond_with_settled: f64
Settled fetch event respondWith promise.
worker_router_evaluation_start: Option<f64>
Started ServiceWorker static routing source evaluation.
worker_cache_lookup_start: Option<f64>
Started cache lookup when the source was evaluated to cache
.
send_start: f64
Started sending request.
send_end: f64
Finished sending request.
push_start: f64
Time the server started pushing request.
push_end: f64
Time the server finished pushing request.
receive_headers_start: f64
Started receiving response headers.
receive_headers_end: f64
Finished receiving response headers.
Implementations§
Source§impl ResourceTiming
impl ResourceTiming
pub fn builder() -> ResourceTimingBuilder
Source§impl ResourceTiming
impl ResourceTiming
pub const IDENTIFIER: &'static str = "Network.ResourceTiming"
Trait Implementations§
Source§impl Clone for ResourceTiming
impl Clone for ResourceTiming
Source§fn clone(&self) -> ResourceTiming
fn clone(&self) -> ResourceTiming
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ResourceTiming
impl Debug for ResourceTiming
Source§impl<'de> Deserialize<'de> for ResourceTiming
impl<'de> Deserialize<'de> for ResourceTiming
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceTiming, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceTiming, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ResourceTiming
impl PartialEq for ResourceTiming
Source§impl Serialize for ResourceTiming
impl Serialize for ResourceTiming
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ResourceTiming
Auto Trait Implementations§
impl Freeze for ResourceTiming
impl RefUnwindSafe for ResourceTiming
impl Send for ResourceTiming
impl Sync for ResourceTiming
impl Unpin for ResourceTiming
impl UnwindSafe for ResourceTiming
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more