Enum actix_web::http::ConnectionType
source · [−]pub enum ConnectionType {
Close,
KeepAlive,
Upgrade,
}
Expand description
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
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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more