pub struct NetworkEntry {
pub seq: u64,
pub timestamp: SystemTime,
pub method: String,
pub url: String,
pub status: NetworkStatus,
pub size: u64,
pub latency_ms: Option<u64>,
}Expand description
One captured network event.
Fields§
§seq: u64Per-page sequential id, formatted on the wire as n_<seq>.
timestamp: SystemTime§method: String§url: String§status: NetworkStatus§size: u64Total transfer size in bytes (response body, after decompression). 0 if not yet available.
latency_ms: Option<u64>End-to-end latency. None while the request is still pending.
Trait Implementations§
Source§impl Clone for NetworkEntry
impl Clone for NetworkEntry
Source§fn clone(&self) -> NetworkEntry
fn clone(&self) -> NetworkEntry
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 NetworkEntry
impl RefUnwindSafe for NetworkEntry
impl Send for NetworkEntry
impl Sync for NetworkEntry
impl Unpin for NetworkEntry
impl UnsafeUnpin for NetworkEntry
impl UnwindSafe for NetworkEntry
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