Enum etcd::Error
[−]
[src]
pub enum Error {
Api(ApiError),
Http(HttpError),
InvalidConditions(&'static str),
InvalidUrl(ParseError),
Io(IoError),
NoEndpoints,
}An error returned by Client method failures.
Variants
Api | An error returned by etcd. | |
Http | An HTTP error from attempting to connect to etcd. | |
InvalidConditions | An error returned when invalid conditions have been provided for a compare-and-delete or compare-and-swap operation. | |
InvalidUrl | An error if an etcd cluster member's endpoint is not a valid URL. | |
Io | An IO error, which can happen when reading the HTTP response. | |
NoEndpoints | An error when attempting to create a client without at least one member endpoint. |