Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. impl Request for ::api::PutRequest {
  2. fn create_reply(&self) -> Box<Response> {
  3. Box::new(::api::PutResponse::new()) as Box<Response>
  4. }
  5. }
  6.  
  7. // impl_request([::api::PutRequest, ::api::PutResponse], [::api::GetRequest, ::api::GetResponse], ...)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement