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

The kind of replies this parser yields

Required Methods

Parse an http body and give back a result

Implementors