pub struct ResourceTimingBuilder { /* private fields */ }Implementations§
source§impl ResourceTimingBuilder
 
impl ResourceTimingBuilder
pub fn request_time(self, request_time: impl Into<f64>) -> ResourceTimingBuilder
pub fn proxy_start(self, proxy_start: impl Into<f64>) -> ResourceTimingBuilder
pub fn proxy_end(self, proxy_end: impl Into<f64>) -> ResourceTimingBuilder
pub fn dns_start(self, dns_start: impl Into<f64>) -> ResourceTimingBuilder
pub fn dns_end(self, dns_end: impl Into<f64>) -> ResourceTimingBuilder
pub fn connect_start( self, connect_start: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn connect_end(self, connect_end: impl Into<f64>) -> ResourceTimingBuilder
pub fn ssl_start(self, ssl_start: impl Into<f64>) -> ResourceTimingBuilder
pub fn ssl_end(self, ssl_end: impl Into<f64>) -> ResourceTimingBuilder
pub fn worker_start(self, worker_start: impl Into<f64>) -> ResourceTimingBuilder
pub fn worker_ready(self, worker_ready: impl Into<f64>) -> ResourceTimingBuilder
pub fn worker_fetch_start( self, worker_fetch_start: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn worker_respond_with_settled( self, worker_respond_with_settled: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn worker_router_evaluation_start( self, worker_router_evaluation_start: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn worker_cache_lookup_start( self, worker_cache_lookup_start: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn send_start(self, send_start: impl Into<f64>) -> ResourceTimingBuilder
pub fn send_end(self, send_end: impl Into<f64>) -> ResourceTimingBuilder
pub fn push_start(self, push_start: impl Into<f64>) -> ResourceTimingBuilder
pub fn push_end(self, push_end: impl Into<f64>) -> ResourceTimingBuilder
pub fn receive_headers_start( self, receive_headers_start: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn receive_headers_end( self, receive_headers_end: impl Into<f64>, ) -> ResourceTimingBuilder
pub fn build(self) -> Result<ResourceTiming, String>
Trait Implementations§
source§impl Clone for ResourceTimingBuilder
 
impl Clone for ResourceTimingBuilder
source§fn clone(&self) -> ResourceTimingBuilder
 
fn clone(&self) -> ResourceTimingBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Default for ResourceTimingBuilder
 
impl Default for ResourceTimingBuilder
source§fn default() -> ResourceTimingBuilder
 
fn default() -> ResourceTimingBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResourceTimingBuilder
impl RefUnwindSafe for ResourceTimingBuilder
impl Send for ResourceTimingBuilder
impl Sync for ResourceTimingBuilder
impl Unpin for ResourceTimingBuilder
impl UnwindSafe for ResourceTimingBuilder
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts 
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>
Converts 
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