pub trait StaticResponseExtender: RefUnwindSafe {
type ResBody: Payload;
fn extend(_: &mut State, _: &mut Response<Self::ResBody>);
}
Expand description
Extend the Response
based on current State
and Response
data.
pub trait StaticResponseExtender: RefUnwindSafe {
type ResBody: Payload;
fn extend(_: &mut State, _: &mut Response<Self::ResBody>);
}
Extend the Response
based on current State
and Response
data.