pub struct ServerTiming { /* private fields */ }
Expand description
Performance metrics for the request-response cycle. See the spec.
Implementations§
Source§impl ServerTiming
impl ServerTiming
Sourcepub fn push(&mut self, metric: TimingMetric)
pub fn push(&mut self, metric: TimingMetric)
Pushes an entry into the list of metrics.
Trait Implementations§
Source§impl Clone for ServerTiming
impl Clone for ServerTiming
Source§fn clone(&self) -> ServerTiming
fn clone(&self) -> ServerTiming
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 Debug for ServerTiming
impl Debug for ServerTiming
Source§impl Default for ServerTiming
impl Default for ServerTiming
Auto Trait Implementations§
impl Freeze for ServerTiming
impl RefUnwindSafe for ServerTiming
impl Send for ServerTiming
impl Sync for ServerTiming
impl Unpin for ServerTiming
impl UnwindSafe for ServerTiming
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