Enum http_types::Version [−][src]
#[non_exhaustive] pub enum Version { Http0_9, Http1_0, Http1_1, Http2_0, Http3_0, }
The version of the HTTP protocol in use.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HTTP/0.9
HTTP/1.0
HTTP/1.1
HTTP/2.0
HTTP/3.0
Trait Implementations
impl<'de> Deserialize<'de> for Version
[src]
impl<'de> Deserialize<'de> for Version
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialOrd<Version> for Version
[src]
impl PartialOrd<Version> for Version
[src]impl StructuralEq for Version
[src]
impl StructuralEq for Version
[src]impl StructuralPartialEq for Version
[src]
impl StructuralPartialEq for Version
[src]Auto Trait Implementations
impl RefUnwindSafe for Version
impl RefUnwindSafe for Version
impl UnwindSafe for Version
impl UnwindSafe for Version
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,