#[repr(u8)]pub enum PseudoId {
Method = 1,
Scheme = 2,
Authority = 3,
Path = 4,
Protocol = 5,
Status = 6,
}Expand description
Represents the order of HTTP/2 pseudo-header fields in the header block.
HTTP/2 pseudo-header fields are a set of predefined header fields that start with ‘:’. The order of these fields in a header block is significant. This enum defines the possible pseudo-header fields and their standard order according to RFC 7540.
Variants§
Trait Implementations§
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 Copy for PseudoId
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.