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

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>[src]

Return a “not found” response

Loading content...

Implementors

impl<B: Default> NotFound<B> for B[src]

Loading content...