pub enum Version {
V10,
V11,
V20,
V30,
Any,
}
Expand description
Version of the HTTP protocol used in a request or response.
Used in signatures to distinguish behavior between HTTP/1.0 and HTTP/1.1.
The Any
variant is used in database signatures to match any HTTP version.
Variants§
V10
HTTP/1.0
V11
HTTP/1.1
V20
HTTP/2
V30
HTTP/3
Any
Matches any HTTP version (used in database signatures).
Implementations§
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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