Struct upcake::Timing [−][src]
pub struct Timing {
pub namelookup: u64,
pub connect: u64,
pub pretransfer: u64,
pub starttransfer: u64,
pub total: u64,
pub dns_resolution: u64,
pub tcp_connection: u64,
pub tls_connection: u64,
pub server_processing: u64,
pub content_transfer: u64,
}
Expand description
Timing results for a request
Fields
namelookup: u64
Duration in milliseconds from the start of the request until name lookup resolved
connect: u64
Duration in milliseconds from the start of the request until a connection to the remote host is established
pretransfer: u64
Duration in milliseconds from the start of the request until file transfer was about to begin
starttransfer: u64
Duration in milliseconds from the start of the request until the first byte was received
total: u64
Duration in milliseconds from the start of the request until the request ended
dns_resolution: u64
Same as Timing::namelookup
tcp_connection: u64
Difference of Timing::connect
and Timing::namelookup
tls_connection: u64
Difference of Timing::pretransfer
and Timing::connect
server_processing: u64
Difference of Timing::starttransfer
and Timing::pretransfer
content_transfer: u64
Difference of Timing::total
and Timing::starttransfer
Trait Implementations
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 RefUnwindSafe for Timing
impl UnwindSafe for Timing
Blanket Implementations
Mutably borrows from an owned value. Read more