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