Enum actix_web::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 ConnectionTypeimpl Send for ConnectionTypeimpl Sync for ConnectionTypeimpl Unpin for ConnectionTypeimpl UnwindSafe for ConnectionTypeBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V