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
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V