pub enum RouteReason {
Negotiated,
H3Disabled,
AlpnMissing,
AlpnUnsupported,
H3HandshakeFailedFallback,
H3HandshakeFailedNoFallback,
}Available on crate feature
http3-profile only.Expand description
Variants§
Negotiated
Standard negotiated protocol route.
H3Disabled
HTTP/3 profile disabled.
AlpnMissing
ALPN missing during negotiation.
AlpnUnsupported
ALPN provided but not recognized.
H3HandshakeFailedFallback
H3 handshake failed and fallback was applied.
H3HandshakeFailedNoFallback
H3 handshake failed and fallback is disabled.
Trait Implementations§
Source§impl Clone for RouteReason
impl Clone for RouteReason
Source§fn clone(&self) -> RouteReason
fn clone(&self) -> RouteReason
Returns a duplicate of the value. Read more
1.0.0 · 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 RouteReason
impl Debug for RouteReason
Source§impl Display for RouteReason
impl Display for RouteReason
Source§impl PartialEq for RouteReason
impl PartialEq for RouteReason
impl Copy for RouteReason
impl Eq for RouteReason
impl StructuralPartialEq for RouteReason
Auto Trait Implementations§
impl Freeze for RouteReason
impl RefUnwindSafe for RouteReason
impl Send for RouteReason
impl Sync for RouteReason
impl Unpin for RouteReason
impl UnsafeUnpin for RouteReason
impl UnwindSafe for RouteReason
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.