Enum rouille::proxy::ProxyError
[−]
[src]
pub enum ProxyError { BodyAlreadyExtracted, IoError(IoError), HttpParseError, }
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)
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
impl Debug for ProxyError
[src]
impl From<IoError> for ProxyError
[src]
fn from(err: IoError) -> ProxyError
Performs the conversion.
impl Error for ProxyError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more