[][src]Trait swagger::composites::NotFound

pub trait NotFound<V> {
    fn not_found() -> Response<V>;
}

Trait for generating a default "not found" response. Must be implemented on the Response associated type for MakeServices being combined in a CompositeMakeService.

Required methods

fn not_found() -> Response<V>

Return a "not found" response

Loading content...

Implementations on Foreign Types

impl NotFound<Body> for Body[src]

Loading content...

Implementors

Loading content...