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 more