Enum hyper::version::HttpVersion [−][src]
pub enum HttpVersion {
Http09,
Http10,
Http11,
Http20,
}
Expand description
Represents a version of the HTTP spec.
Variants
HTTP/0.9
HTTP/1.0
HTTP/1.1
HTTP/2.0
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for HttpVersion
impl Send for HttpVersion
impl Sync for HttpVersion
impl Unpin for HttpVersion
impl UnwindSafe for HttpVersion
Blanket Implementations
Mutably borrows from an owned value. Read more