Enum sota::http::http_client::Response [] [src]

pub enum Response {
    Success(ResponseData),
    Failed(ResponseData),
    Error(Error),
}

A Response enumerates between a successful (e.g. 2xx) HTTP response, a failed (e.g. 4xx/5xx) response, or an Error before receiving any response.

Variants

Success
Failed
Error

Trait Implementations

impl Display for Response
[src]

fn fmt(&self, f: &mut Formatter) -> FmtResult

Formats the value using the given formatter.

Derived Implementations

impl Debug for Response
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.