[−][src]Enum http_sig::PseudoHeader
Pseudo-headers are used to incorporate additional information into a HTTP signature for which there is no corresponding HTTP header.
They are described as "special headers" in the draft specification: https://tools.ietf.org/id/draft-cavage-http-signatures-12.html#canonicalization
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The (request-target) pseudo-header is constructed by joining the lower-cased
request method (get, post, etc.) and the request path (/some/page?foo=1)
with a single space character.
For example:
get /index.html
Methods
impl PseudoHeader[src]
Trait Implementations
impl Clone for PseudoHeader[src]
fn clone(&self) -> PseudoHeader[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PseudoHeader[src]
impl Debug for PseudoHeader[src]
impl Eq for PseudoHeader[src]
impl From<PseudoHeader> for Header[src]
fn from(other: PseudoHeader) -> Self[src]
impl FromStr for PseudoHeader[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<PseudoHeader, Self::Err>[src]
impl Ord for PseudoHeader[src]
fn cmp(&self, other: &PseudoHeader) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> Self1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<PseudoHeader> for PseudoHeader[src]
fn eq(&self, other: &PseudoHeader) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialOrd<PseudoHeader> for PseudoHeader[src]
fn partial_cmp(&self, other: &PseudoHeader) -> 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 PseudoHeader[src]
impl StructuralPartialEq for PseudoHeader[src]
Auto Trait Implementations
impl RefUnwindSafe for PseudoHeader
impl Send for PseudoHeader
impl Sync for PseudoHeader
impl Unpin for PseudoHeader
impl UnwindSafe for PseudoHeader
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool[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> Same<T> for T
type Output = T
Should always be Self
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, 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>,