From 886eacdf5b0d4d369a44bf99d25b4cfcafface47 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 30 Mar 2023 10:37:08 +0000 Subject: feat: overhaul response system --- src/handler.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/handler.rs') diff --git a/src/handler.rs b/src/handler.rs index c5e23e8..bd64f03 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -17,15 +17,15 @@ // SPDX-License-Identifier: GPL-3.0-only use crate::{ + response::Response, returnable, returnable::{CallbackContext, RouteContext}, - Response, }; pub type RouteResponse = - Box) -> Response<'_> + Send + Sync>; + Box) -> Response + Send + Sync>; pub type ErrorResponse = - Box) -> Response<'_> + Send + Sync>; + Box) -> Response + Send + Sync>; pub type Callback = Box) + Send + Sync>; pub type CleanupCallback = Box, &mut String) + Send + Sync>; -- cgit v1.2.3