pub trait DrawResources {
    fn resource<R: Resource, T: ToString>(&mut self, path: T);
}
Expand description

This trait adds the resource method to gotham’s routing. It allows you to register any RESTful Resource with a path.

Required methods

Implementations on Foreign Types

Implementors