Enum ntex::http::HttpProtocol [−][src]
pub enum HttpProtocol {
Http1,
Http2,
Unknown,
}
Variants
Http1
Http2
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpProtocol
impl Send for HttpProtocol
impl Sync for HttpProtocol
impl Unpin for HttpProtocol
impl UnwindSafe for HttpProtocol
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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