pub enum AlternateProtocolUsage {
AlternativeJobWonWithoutRace,
AlternativeJobWonRace,
MainJobWonRace,
MappingMissing,
Broken,
DnsAlpnH3JobWonWithoutRace,
DnsAlpnH3JobWonRace,
UnspecifiedReason,
}
Expand description
The reason why Chrome uses a specific transport protocol for HTTP semantics.
Variants§
AlternativeJobWonWithoutRace
Alternate Protocol was used without racing a normal connection.
AlternativeJobWonRace
Alternate Protocol was used by winning a race with a normal connection.
MainJobWonRace
Alternate Protocol was not used by losing a race with a normal connection.
MappingMissing
Alternate Protocol was not used because no Alternate-Protocol information was available when the request was issued, but an Alternate-Protocol header was present in the response.
Broken
Alternate Protocol was not used because it was marked broken.
DnsAlpnH3JobWonWithoutRace
HTTPS DNS protocol upgrade job was used without racing with a normal connection and an Alternate Protocol job.
DnsAlpnH3JobWonRace
HTTPS DNS protocol upgrade job won a race with a normal connection and an Alternate Protocol job.
UnspecifiedReason
This value is used when the reason is unknown.
Trait Implementations§
Source§impl AsRef<str> for AlternateProtocolUsage
impl AsRef<str> for AlternateProtocolUsage
Source§impl Clone for AlternateProtocolUsage
impl Clone for AlternateProtocolUsage
Source§fn clone(&self) -> AlternateProtocolUsage
fn clone(&self) -> AlternateProtocolUsage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AlternateProtocolUsage
impl Debug for AlternateProtocolUsage
Source§impl<'de> Deserialize<'de> for AlternateProtocolUsage
impl<'de> Deserialize<'de> for AlternateProtocolUsage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AlternateProtocolUsage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AlternateProtocolUsage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl FromStr for AlternateProtocolUsage
impl FromStr for AlternateProtocolUsage
Source§impl Hash for AlternateProtocolUsage
impl Hash for AlternateProtocolUsage
Source§impl PartialEq for AlternateProtocolUsage
impl PartialEq for AlternateProtocolUsage
Source§impl Serialize for AlternateProtocolUsage
impl Serialize for AlternateProtocolUsage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for AlternateProtocolUsage
impl StructuralPartialEq for AlternateProtocolUsage
Auto Trait Implementations§
impl Freeze for AlternateProtocolUsage
impl RefUnwindSafe for AlternateProtocolUsage
impl Send for AlternateProtocolUsage
impl Sync for AlternateProtocolUsage
impl Unpin for AlternateProtocolUsage
impl UnwindSafe for AlternateProtocolUsage
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more