Trait proxer::Endpoint
[−]
[src]
pub trait Endpoint { type ResponseType: Debug + Clone; fn get_params_mut(&mut self) -> &mut HashMap<String, String>; fn send(self) -> Result<Self::ResponseType, Error>; }
Every struct that is an endpoint, implements this trait.
Associated Types
type ResponseType: Debug + Clone
Required Methods
fn get_params_mut(&mut self) -> &mut HashMap<String, String>
fn send(self) -> Result<Self::ResponseType, Error>
Implementors
impl Endpoint for GetFullEntry type ResponseType = FullEntry;
impl Endpoint for GetComments type ResponseType = Vec<Comment>;