Struct gotham::router::response::finalizer::ResponseFinalizer [] [src]

pub struct ResponseFinalizer { /* fields omitted */ }

Holds an immutable collection of ResponseExtender values, as configured using ResponseFinalizerBuilder::add. This type is constructed automatically when using the gotham::router::builder API. See RouterBuilder::add_response_extender for details on configuring ResponseExtender values for each StatusCode.

Methods

impl ResponseFinalizer
[src]

Important traits for Box<W>
[src]

Finalize the Response if a ResponseFinalizer has been supplied for the status code assigned to the Response.

Trait Implementations

impl Clone for ResponseFinalizer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations