Enum actix_http::KeepAlive [−][src]
pub enum KeepAlive {
Timeout(usize),
Os,
Disabled,
}
Expand description
Server keep-alive setting
Variants
Timeout(usize)
Tuple Fields
0: usize
Keep alive in seconds
Os
Rely on OS to shutdown tcp connection
Disabled
Disabled
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeepAlive
impl UnwindSafe for KeepAlive
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more