Crate rust_consul

Source
Expand description

Future-aware client for consul

This library is an client for consul that gives you stream of changes done in consul

Structs§

Agent
Parse node list from services in consul
Client
Consul client
FutureConsul
A future response from consul
Node
Node hosting services
ServiceNodes
Parse node list from services in consul
Services
Parse services list in consul
Watcher
Watch changes made in consul and parse those changes

Enums§

Error
General errors that breaks the stream
ParseError
Error that Watch may yield in the stream
ProtocolError
Errors related to blocking protocol as defined by consul

Traits§

ConsulType
Trait for parsing types out of consul

Type Aliases§

ServiceName
Services name used in consul