Trait swagger::composites::NotFound
source · pub trait NotFound<V> {
// Required method
fn not_found() -> Response<V>;
}
Available on crate feature
server
and (crate features http1
or http2
) only.Expand description
Trait for generating a default “not found” response. Must be implemented on
the Response
associated type for MakeService
s being combined in a
CompositeMakeService
.