Enum actix_http::KeepAlive [−][src]
pub enum KeepAlive {
Timeout(usize),
Os,
Disabled,
}Expand description
Server keep-alive setting
Variants
Timeout(usize)
Tuple Fields
0: usizeKeep 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
pub fn vzip(self) -> V
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
