Type Alias poem::endpoint::BoxEndpoint
source · pub type BoxEndpoint<'a, T = Response> = Box<dyn DynEndpoint<Output = T> + 'a>;
Expand description
An owned dynamically typed Endpoint
for use in cases where you can’t
statically type your result or need to add some indirection.
Aliased Type§
struct BoxEndpoint<'a, T = Response>(/* private fields */);