pub fn put<E>(ep: E) -> RouteMethodwhere
E: IntoEndpoint,
E::Endpoint: 'static,
Expand description
A helper function, similar to RouteMethod::new().put(ep)
.
pub fn put<E>(ep: E) -> RouteMethodwhere
E: IntoEndpoint,
E::Endpoint: 'static,
A helper function, similar to RouteMethod::new().put(ep)
.