#[non_exhaustive]pub enum TimeoutKind {
ClientTotal,
ClientConnect,
ClientWrite,
ClientContinue,
ServerHeaderRead,
ServerBodyRead,
ServerWrite,
ServerIdle,
}Expand description
Identifies which deadline was exceeded.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClientTotal
Whole client send operation.
ClientConnect
Client TCP connect phase.
ClientWrite
Client write phase.
ClientContinue
Client waiting for 100 Continue from the server.
ServerHeaderRead
Server reading the ICAP request headers.
ServerBodyRead
Server reading the request body.
ServerWrite
Server writing the response.
ServerIdle
Server idle keep-alive timeout.
Trait Implementations§
Source§impl Clone for TimeoutKind
impl Clone for TimeoutKind
Source§fn clone(&self) -> TimeoutKind
fn clone(&self) -> TimeoutKind
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 moreimpl Copy for TimeoutKind
Source§impl Debug for TimeoutKind
impl Debug for TimeoutKind
Source§impl Display for TimeoutKind
impl Display for TimeoutKind
impl Eq for TimeoutKind
Source§impl PartialEq for TimeoutKind
impl PartialEq for TimeoutKind
impl StructuralPartialEq for TimeoutKind
Auto Trait Implementations§
impl Freeze for TimeoutKind
impl RefUnwindSafe for TimeoutKind
impl Send for TimeoutKind
impl Sync for TimeoutKind
impl Unpin for TimeoutKind
impl UnsafeUnpin for TimeoutKind
impl UnwindSafe for TimeoutKind
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