Struct gotham::router::response::ResponseFinalizer [−][src]
pub struct ResponseFinalizer { /* fields omitted */ }
Expand description
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
.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResponseFinalizer
impl Send for ResponseFinalizer
impl Sync for ResponseFinalizer
impl Unpin for ResponseFinalizer
impl UnwindSafe for ResponseFinalizer
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more