Enum actix_http::KeepAlive [−][src]
pub enum KeepAlive {
Timeout(usize),
Os,
Disabled,
}
Expand description
Server keep-alive setting
Variants
Timeout(usize)
Keep alive in seconds
Tuple Fields of Timeout
0: usize
Rely on OS to shutdown tcp connection
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