Enum rouille::proxy::ProxyError [−][src]
pub enum ProxyError {
BodyAlreadyExtracted,
IoError(IoError),
HttpParseError,
}
Expand description
Error that can happen when dispatching the request to another server.
Variants
BodyAlreadyExtracted
Can’t pass through the body of the request because it was already extracted.
IoError(IoError)
Tuple Fields
0: IoError
Could not read the body from the request, or could not connect to the remote server, or the connection to the remote server closed unexpectedly.
HttpParseError
The destination server didn’t produce compliant HTTP.
Trait Implementations
Performs the conversion.