Trait gotham_restful::DrawResources
source · pub trait DrawResources {
// Required method
fn resource<R: Resource>(&mut self, path: &str);
}
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§
Object Safety§
This trait is not object safe.