Trait swagger::composites::NotFound
[−]
[src]
pub trait NotFound { fn not_found() -> Self; }
Trait for generating a default "not found" response. Must be implemented on
the Response
associated type for NewService
s being combined in a
CompositeNewService
.
Required Methods
fn not_found() -> Self
Return a "not found" response