pub enum PendingHeaderResult {
Absent,
Removed,
Value(String),
}Expand description
Tri-state result from HttpFilterContext::pending_header_value.
Distinguishes “not mentioned” from “explicitly removed” so that
callers like endpoint_selector know whether to fall through to
pre-read provenance.
Variants§
Absent
The header was not mentioned in any pending mutation list.
Removed
The header was explicitly removed by a pending mutation.
Value(String)
The header has a resolved pending value.
Trait Implementations§
Source§impl Clone for PendingHeaderResult
impl Clone for PendingHeaderResult
Source§fn clone(&self) -> PendingHeaderResult
fn clone(&self) -> PendingHeaderResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PendingHeaderResult
impl Debug for PendingHeaderResult
impl Eq for PendingHeaderResult
Source§impl PartialEq for PendingHeaderResult
impl PartialEq for PendingHeaderResult
impl StructuralPartialEq for PendingHeaderResult
Auto Trait Implementations§
impl Freeze for PendingHeaderResult
impl RefUnwindSafe for PendingHeaderResult
impl Send for PendingHeaderResult
impl Sync for PendingHeaderResult
impl Unpin for PendingHeaderResult
impl UnsafeUnpin for PendingHeaderResult
impl UnwindSafe for PendingHeaderResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§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.