Enum actix_http::ConnectionType [−][src]
pub enum ConnectionType {
Close,
KeepAlive,
Upgrade,
}
Expand description
Represents various types of connection
Variants
Close connection after response
Keep connection alive after response
Connection is upgraded to different type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConnectionType
impl Send for ConnectionType
impl Sync for ConnectionType
impl Unpin for ConnectionType
impl UnwindSafe for ConnectionType
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more