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.