Enum ajars_actix_web::actix_web::http::ConnectionType [−]
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
impl Clone for ConnectionType
impl Clone for ConnectionType
pub fn clone(&self) -> ConnectionType
pub fn clone(&self) -> ConnectionType
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ConnectionType
impl Debug for ConnectionType
impl PartialEq<ConnectionType> for ConnectionType
impl PartialEq<ConnectionType> for ConnectionType
impl Copy for ConnectionType
impl StructuralPartialEq for ConnectionType
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
type Output = T
type Output = T
Should always be Self