Enum awc::http::ConnectionType [−][src]
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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