pub struct FieldKey(/* private fields */);Expand description
The key portion of key-value pair in a header field.
Implementations§
Trait Implementations§
Source§impl Ord for FieldKey
impl Ord for FieldKey
Source§impl PartialOrd for FieldKey
impl PartialOrd for FieldKey
impl Eq for FieldKey
Auto Trait Implementations§
impl !Freeze for FieldKey
impl RefUnwindSafe for FieldKey
impl Send for FieldKey
impl Sync for FieldKey
impl Unpin for FieldKey
impl UnwindSafe for FieldKey
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.Source§impl<R> FirstAddrExt for R
impl<R> FirstAddrExt for R
Source§fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
Convert this resolver into a
FirstAddrResolver. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<S> ServiceBailExt for S
impl<S> ServiceBailExt for S
Source§fn bail<F>(self, preprocessor: F) -> BailService<S, F>
fn bail<F>(self, preprocessor: F) -> BailService<S, F>
Provide a pre-processor which returns either
Ok(req)
with a moditied request, or Err(res) with the desired
immediate response. This pre-processor is synchronous.