Crate rs_consul

Source
Expand description

consul

This crate provides access to a set of strongly typed apis to interact with consul (https://www.consul.io/)

Re-exports§

Modules§

  • The strongly typed data structures representing canonical consul objects.

Structs§

  • The config necessary to create a new consul client.
  • This struct defines the consul client and allows access to the consul api via method syntax.
  • This struct defines a builder for the consul client This allows a Consul client to be built using a custom HTTPS client
  • Represents a lock against Consul. The lifetime of this object defines the validity of the lock against consul. When the object is dropped, the lock is attempted to be released for the next consumer.

Enums§

  • The error type returned from all calls into this this crate.
  • The functions supported by the consul client.
  • The HTTP methods supported by the consul API.

Type Aliases§

  • Type alias for a Hyper client using a hyper_rusttls HttpsConnector