Enum rust_consul::Error [] [src]

pub enum Error {
    Http(HyperError),
    InvalidState,
    InvalidUrl(UrlParseError),
    Tls(TlsError),
    Io(Error),
    BodyParse(ParseError),
}

General errors that breaks the stream

Variants

Error given internaly by hyper

You have polled the watcher from two different threads

You have given us an invalid url

Error while initializing tls

uncatched io error

consul response failed to parse

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl From<UrlParseError> for Error
[src]

[src]

Performs the conversion.

impl From<TlsError> for Error
[src]

[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<ParseError> for Error
[src]

[src]

Performs the conversion.