pub enum HttpVersion {
Http1,
Http2,
Http3,
Http2And3,
}Variants§
Trait Implementations§
Source§impl From<HttpVersion> for String
impl From<HttpVersion> for String
Source§fn from(value: HttpVersion) -> Self
fn from(value: HttpVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpVersion
impl RefUnwindSafe for HttpVersion
impl Send for HttpVersion
impl Sync for HttpVersion
impl Unpin for HttpVersion
impl UnwindSafe for HttpVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more