Enum ntex_io::types::HttpProtocol
source · pub enum HttpProtocol {
Http1,
Http2,
Unknown,
}Expand description
Http protocol definition
Variants§
Trait Implementations§
source§impl Clone for HttpProtocol
impl Clone for HttpProtocol
source§fn clone(&self) -> HttpProtocol
fn clone(&self) -> HttpProtocol
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HttpProtocol
impl Debug for HttpProtocol
source§impl Hash for HttpProtocol
impl Hash for HttpProtocol
source§impl PartialEq<HttpProtocol> for HttpProtocol
impl PartialEq<HttpProtocol> for HttpProtocol
source§fn eq(&self, other: &HttpProtocol) -> bool
fn eq(&self, other: &HttpProtocol) -> bool
This method tests for
self and other values to be equal, and is used
by ==.