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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ConnectionType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Debug for ConnectionType
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations