pub struct DigestDetail {
pub connection_reused: bool,
pub connection_time: u64,
pub tcp_established: u64,
pub tls_established: u64,
pub tls_version: Option<String>,
pub tls_cipher: Option<String>,
}Expand description
Helper struct to store connection timing and TLS details
Fields§
§connection_reused: boolWhether the connection was reused from pool
connection_time: u64Total connection time in milliseconds
tcp_established: u64Timestamp when TCP connection was established
tls_established: u64Timestamp when TLS handshake completed
tls_version: Option<String>TLS protocol version if using HTTPS
tls_cipher: Option<String>TLS cipher suite in use if using HTTPS
Trait Implementations§
Source§impl Debug for DigestDetail
impl Debug for DigestDetail
Source§impl Default for DigestDetail
impl Default for DigestDetail
Source§fn default() -> DigestDetail
fn default() -> DigestDetail
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DigestDetail
impl RefUnwindSafe for DigestDetail
impl Send for DigestDetail
impl Sync for DigestDetail
impl Unpin for DigestDetail
impl UnsafeUnpin for DigestDetail
impl UnwindSafe for DigestDetail
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