pub enum Error {
    Method,
    Uri(ParseError),
    Version,
    Header,
    TooLarge,
    Status,
    Io(IoError),
    Ssl(SslError),
}A set of errors that can occur parsing HTTP streams.
Variants
Method | An invalid Method, such as GE,T. 
 | 
Uri | An invalid RequestUri, such as exam ple.domain. 
 | 
Version | An invalid HttpVersion, such as HTP/1.1 
 | 
 | 
TooLarge | A message head is too large to be reasonable. 
 | 
Status | An invalid Status, such as 1337 ELITE. 
 | 
Io | An io::Error that occurred while trying to read or write to a network stream. 
 | 
Ssl | An error from the openssl library. 
 | 
Trait Implementations
Derived Implementations 
    
        
            Keyboard shortcuts
            
                - ?
 
                - Show this help dialog
 
                - S
 
                - Focus the search field
 
                - ⇤
 
                - Move up in search results
 
                - ⇥
 
                - Move down in search results
 
                - ⏎
 
                - Go to active search result
 
            
         
        
            Search tricks
            
                Prefix searches with a type followed by a colon (e.g.
                fn:) to restrict the search to a given type.
            
            
                Accepted types are: fn, mod,
                struct, enum,
                trait, typedef (or
                tdef).