pub struct ResourceTiming { /* private fields */ }Expand description
Timing information for the request.
Implementations§
Source§impl ResourceTiming
impl ResourceTiming
pub fn builder( requestTime: f64, proxyStart: f64, proxyEnd: f64, dnsStart: f64, dnsEnd: f64, connectStart: f64, connectEnd: f64, sslStart: f64, sslEnd: f64, workerStart: f64, workerReady: f64, workerFetchStart: f64, workerRespondWithSettled: f64, sendStart: f64, sendEnd: f64, pushStart: f64, pushEnd: f64, receiveHeadersStart: f64, receiveHeadersEnd: f64, ) -> ResourceTimingBuilder
pub fn requestTime(&self) -> f64
pub fn proxyStart(&self) -> f64
pub fn proxyEnd(&self) -> f64
pub fn dnsStart(&self) -> f64
pub fn dnsEnd(&self) -> f64
pub fn connectStart(&self) -> f64
pub fn connectEnd(&self) -> f64
pub fn sslStart(&self) -> f64
pub fn sslEnd(&self) -> f64
pub fn workerStart(&self) -> f64
pub fn workerReady(&self) -> f64
pub fn workerFetchStart(&self) -> f64
pub fn workerRespondWithSettled(&self) -> f64
pub fn workerRouterEvaluationStart(&self) -> Option<f64>
pub fn workerCacheLookupStart(&self) -> Option<f64>
pub fn sendStart(&self) -> f64
pub fn sendEnd(&self) -> f64
pub fn pushStart(&self) -> f64
pub fn pushEnd(&self) -> f64
pub fn receiveHeadersStart(&self) -> f64
pub fn receiveHeadersEnd(&self) -> f64
Trait Implementations§
Source§impl Clone for ResourceTiming
impl Clone for ResourceTiming
Source§fn clone(&self) -> ResourceTiming
fn clone(&self) -> ResourceTiming
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 moreSource§impl Debug for ResourceTiming
impl Debug for ResourceTiming
Source§impl Default for ResourceTiming
impl Default for ResourceTiming
Source§fn default() -> ResourceTiming
fn default() -> ResourceTiming
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceTiming
impl<'de> Deserialize<'de> for ResourceTiming
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResourceTiming
impl RefUnwindSafe for ResourceTiming
impl Send for ResourceTiming
impl Sync for ResourceTiming
impl Unpin for ResourceTiming
impl UnsafeUnpin 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
Mutably borrows from an owned value. Read more