Crate rs_consul

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§

pub use types::*;
pub use acl_types::*;

Modules§

acl
Access Control List(acl) to control authentication and authorization
acl_types
Types for acl related operations
types
The strongly typed data structures representing canonical consul objects.

Structs§

Config
The config necessary to create a new consul client.
Consul
This struct defines the consul client and allows access to the consul api via method syntax.
ConsulBuilder
This struct defines a builder for the consul client This allows a Consul client to be built using a custom HTTPS client
Lock
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§

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

Type Aliases§

HttpsClient
Type alias for a Hyper client using a hyper_rusttls HttpsConnector