Trait rust_consul::ConsulType
[−]
[src]
pub trait ConsulType {
type Reply;
fn parse(buf: &Chunk) -> Result<Self::Reply, ParseError>;
}Trait for parsing types out of consul
Associated Types
type Reply
The kind of replies this parser yields
Required Methods
fn parse(buf: &Chunk) -> Result<Self::Reply, ParseError>
Parse an http body and give back a result