Enum gsbrs::gsberror::GSBError [] [src]

pub enum GSBError {
    Network(Error),
    TooManyUrls,
    MalformedMessage,
    HTTPStatusCode(StatusCode),
}

Variants

Network(Error)TooManyUrlsMalformedMessageHTTPStatusCode(StatusCode)

Trait Implementations

impl Debug for GSBError
[src]

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

Formats the value using the given formatter.

impl Display for GSBError
[src]

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

Formats the value using the given formatter.

impl Error for GSBError
[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

impl From<Error> for GSBError
[src]

fn from(err: Error) -> GSBError

Performs the conversion.

impl From<StatusCode> for GSBError
[src]

fn from(err: StatusCode) -> GSBError

Performs the conversion.