Enum etcd::Error [] [src]

pub enum Error {
    Api(ApiError),
    Http(HttpError),
    InvalidConditions,
    InvalidUri(UriError),
    InvalidUrl(UrlError),
    NoEndpoints,
    Serialization(SerializationError),
    Tls(TlsError),
}

An error returned when an operation fails for some reaosn.

Variants

An error returned by an etcd API endpoint.

An error at the HTTP protocol layer.

An error returned when invalid conditions have been provided for a compare-and-delete or compare-and-swap operation.

An error returned when an etcd cluster member's endpoint is not a valid URI.

An error returned when the URL for a specific API endpoint cannot be generated.

An error returned when attempting to create a client without at least one member endpoint.

An error returned when attempting to deserializing invalid JSON.

An error returned when configuring TLS.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

A short description of the error. Read more

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

impl From<HttpError> for Error
[src]

Performs the conversion.

impl From<TlsError> for Error
[src]

Performs the conversion.

impl From<UrlError> for Error
[src]

Performs the conversion.

impl From<SerializationError> for Error
[src]

Performs the conversion.

impl From<UriError> for Error
[src]

Performs the conversion.