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 Clone for ConnectionType[src]
fn clone(&self) -> ConnectionType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for ConnectionType[src]
fn eq(&self, __arg_0: &ConnectionType) -> bool[src]
This 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]
This method tests for !=.