#[repr(u8)]pub enum PseudoId {
Method = 1,
Scheme = 2,
Authority = 3,
Path = 4,
Protocol = 5,
Status = 6,
}Expand description
Represents the order of HTTP/3 pseudo-header fields in the header block.
HTTP/3 pseudo-header fields are a set of predefined header fields that start with ‘:’. The order of these fields in a header block is significant for fingerprinting purposes. This enum defines the possible pseudo-header fields and their default order.
Variants§
Method = 1
The :method pseudo-header field.
Scheme = 2
The :scheme pseudo-header field.
Authority = 3
The :authority pseudo-header field.
Path = 4
The :path pseudo-header field.
Protocol = 5
The :protocol pseudo-header field.
Status = 6
The :status pseudo-header field.
Trait Implementations§
impl Copy for PseudoId
impl Eq for PseudoId
Source§impl Ord for PseudoId
impl Ord for PseudoId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PseudoId
impl PartialOrd for PseudoId
impl StructuralPartialEq for PseudoId
Auto Trait Implementations§
impl Freeze for PseudoId
impl RefUnwindSafe for PseudoId
impl Send for PseudoId
impl Sync for PseudoId
impl Unpin for PseudoId
impl UnsafeUnpin for PseudoId
impl UnwindSafe for PseudoId
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