pub enum HttpMatchRank {
Specific,
Generic,
}Expand description
Which tier an HTTP match landed in: Specific beats Generic.
HTTP signatures have no tolerances: a field that disagrees rejects the signature, so there is no fuzzy tier here, unlike TCP.
Variants§
Specific
Fit against a signature naming a concrete product.
Generic
Fit against a catch-all signature.
Implementations§
Trait Implementations§
impl Eq for MatchRank
impl StructuralPartialEq for MatchRank
Auto Trait Implementations§
impl Freeze for MatchRank
impl RefUnwindSafe for MatchRank
impl Send for MatchRank
impl Sync for MatchRank
impl Unpin for MatchRank
impl UnsafeUnpin for MatchRank
impl UnwindSafe for MatchRank
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