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
OsRelay on OS to shutdown tcp connection
DisabledDisabled
Trait Implementations
impl Debug for KeepAlive[src]
impl Debug for KeepAlivefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for KeepAlive[src]
impl PartialEq for KeepAlivefn eq(&self, other: &KeepAlive) -> bool[src]
fn eq(&self, other: &KeepAlive) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for KeepAlive[src]
impl Clone for KeepAlivefn clone(&self) -> KeepAlive[src]
fn clone(&self) -> KeepAliveReturns 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 KeepAliveimpl From<usize> for KeepAlive[src]
impl From<usize> for KeepAliveimpl From<Option<usize>> for KeepAlive[src]
impl From<Option<usize>> for KeepAlive