Enum actix_web::server::KeepAlive [−][src]
Server keep-alive setting
Variants
Timeout(usize)
Keep alive in seconds
Tcp(usize)
Use SO_KEEPALIVE
socket option, value in seconds
Os
Relay on OS to shutdown tcp connection
Disabled
Disabled
Trait Implementations
impl Debug for KeepAlive
[src]
impl Debug for KeepAlive
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for KeepAlive
[src]
impl PartialEq for KeepAlive
fn eq(&self, other: &KeepAlive) -> bool
[src]
fn eq(&self, other: &KeepAlive) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &KeepAlive) -> bool
[src]
fn ne(&self, other: &KeepAlive) -> bool
This method tests for !=
.
impl Clone for KeepAlive
[src]
impl Clone for KeepAlive
fn clone(&self) -> KeepAlive
[src]
fn clone(&self) -> KeepAlive
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for KeepAlive
[src]
impl Copy for KeepAlive
impl From<usize> for KeepAlive
[src]
impl From<usize> for KeepAlive
impl From<Option<usize>> for KeepAlive
[src]
impl From<Option<usize>> for KeepAlive