Enum hyper::header::ProtocolName  
                   
                       [−]
                   
               [src]
pub enum ProtocolName {
    Http,
    Tls,
    WebSocket,
    H2c,
    Unregistered(String),
}A protocol name used to identify a spefic protocol. Names are case-sensitive
except for the WebSocket value.
Variants
Http | 
  | |
Tls | 
  | |
WebSocket | 
  | |
H2c | 
  | |
Unregistered | Any other protocol name not known to hyper  |