Enum actix_web::http::ConnectionType [−][src]
pub enum ConnectionType {
Close,
KeepAlive,
Upgrade,
}Represents various types of connection
Variants
CloseClose connection after response
KeepAliveKeep connection alive after response
UpgradeConnection is upgraded to different type
Trait Implementations
impl Copy for ConnectionType[src]
impl Copy for ConnectionTypeimpl Clone for ConnectionType[src]
impl Clone for ConnectionTypefn clone(&self) -> ConnectionType[src]
fn clone(&self) -> ConnectionTypeReturns 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 PartialEq for ConnectionType[src]
impl PartialEq for ConnectionTypefn eq(&self, other: &ConnectionType) -> bool[src]
fn eq(&self, other: &ConnectionType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for ConnectionType[src]
impl Debug for ConnectionTypeAuto Trait Implementations
impl Send for ConnectionType
impl Send for ConnectionTypeimpl Sync for ConnectionType
impl Sync for ConnectionType