[][src]Struct hyper::Version

pub struct Version(_);

Represents a version of the HTTP spec.

Implementations

impl Version[src]

pub const HTTP_09: Version[src]

HTTP/0.9

pub const HTTP_10: Version[src]

HTTP/1.0

pub const HTTP_11: Version[src]

HTTP/1.1

pub const HTTP_2: Version[src]

HTTP/2.0

pub const HTTP_3: Version[src]

HTTP/3.0

Trait Implementations

impl Clone for Version[src]

impl Copy for Version[src]

impl Debug for Version[src]

impl Default for Version[src]

impl Eq for Version[src]

impl Hash for Version[src]

impl Ord for Version[src]

impl PartialEq<Version> for Version[src]

impl PartialOrd<Version> for Version[src]

impl StructuralEq for Version[src]

impl StructuralPartialEq for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version[src]

impl Send for Version[src]

impl Sync for Version[src]

impl Unpin for Version[src]

impl UnwindSafe for Version[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.