pub trait EndpointExt: IntoEndpoint {
// Provided methods
fn boxed<'a>(self) -> BoxEndpoint<'a, <Self::Endpoint as Endpoint>::Output>
where Self: Sized + 'a { ... }
fn data<T>(self, data: T) -> AddDataEndpoint<Self::Endpoint, T>
where T: Clone + Send + Sync + 'static,
Self: Sized { ... }
fn with<T>(self, middleware: T) -> T::Output
where T: Middleware<Self::Endpoint>,
Self: Sized { ... }
}