Struct esp_idf_svc::http::server::NonstaticChain
source · pub struct NonstaticChain<H, N>(/* private fields */);
Expand description
A newtype wrapper for ChainHandler
that allows
non-`’static`` handlers in the chain to be registered
and passed to the server.
Implementations§
source§impl<H, N> NonstaticChain<H, N>
impl<H, N> NonstaticChain<H, N>
sourcepub fn new(handler: ChainHandler<H, N>) -> Self
pub fn new(handler: ChainHandler<H, N>) -> Self
Wraps the given chain with a NonstaticChain
newtype.