pub enum TimeoutPhase {
Pool,
Connect,
ProxyConnect,
ProxyTls,
Write,
Read,
Total,
}Expand description
Identifies the phase of a request that timed out.
Variants§
Pool
Waiting for a connection slot from the pool.
Connect
Establishing TCP connection and TLS handshake.
ProxyConnect
TCP connection to the proxy server.
ProxyTls
TLS handshake over a CONNECT tunnel to the proxy.
Write
Sending request headers and body.
Read
Waiting for response headers or a response body chunk.
Total
The overall wall-clock deadline was exceeded.
Trait Implementations§
Source§impl Clone for TimeoutPhase
impl Clone for TimeoutPhase
impl Copy for TimeoutPhase
Source§impl Debug for TimeoutPhase
impl Debug for TimeoutPhase
Source§impl Display for TimeoutPhase
impl Display for TimeoutPhase
impl Eq for TimeoutPhase
Source§impl Hash for TimeoutPhase
impl Hash for TimeoutPhase
Source§impl PartialEq for TimeoutPhase
impl PartialEq for TimeoutPhase
impl StructuralPartialEq for TimeoutPhase
Auto Trait Implementations§
impl Freeze for TimeoutPhase
impl RefUnwindSafe for TimeoutPhase
impl Send for TimeoutPhase
impl Sync for TimeoutPhase
impl Unpin for TimeoutPhase
impl UnsafeUnpin for TimeoutPhase
impl UnwindSafe for TimeoutPhase
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