[−][src]Struct tiny_http::HTTPVersion
HTTP version (usually 1.0 or 1.1).
Trait Implementations
impl Clone for HTTPVersion[src]
fn clone(&self) -> HTTPVersion[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for HTTPVersion[src]
impl Display for HTTPVersion[src]
impl Eq for HTTPVersion[src]
impl From<(u8, u8)> for HTTPVersion[src]
impl Ord for HTTPVersion[src]
fn cmp(&self, other: &HTTPVersion) -> Ordering[src]
#[must_use]
fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<(u8, u8)> for HTTPVersion[src]
fn eq(&self, (major, minor): &(u8, u8)) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<HTTPVersion> for HTTPVersion[src]
fn eq(&self, other: &HTTPVersion) -> bool[src]
fn ne(&self, other: &HTTPVersion) -> bool[src]
impl PartialEq<HTTPVersion> for (u8, u8)[src]
fn eq(&self, other: &HTTPVersion) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<(u8, u8)> for HTTPVersion[src]
fn partial_cmp(&self, (major, minor): &(u8, u8)) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<HTTPVersion> for HTTPVersion[src]
fn partial_cmp(&self, other: &HTTPVersion) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<HTTPVersion> for (u8, u8)[src]
fn partial_cmp(&self, other: &HTTPVersion) -> Option<Ordering>[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for HTTPVersion[src]
impl StructuralPartialEq for HTTPVersion[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,