Enum actix_web::http::ConnectionType[][src]

pub enum ConnectionType {
    Close,
    KeepAlive,
    Upgrade,
}

Represents various types of connection

Variants

Close connection after response

Keep connection alive after response

Connection is upgraded to different type

Trait Implementations

impl Copy for ConnectionType
[src]

impl Clone for ConnectionType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ConnectionType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ConnectionType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ConnectionType

impl Sync for ConnectionType