catalyzer/response/mod.rs
1//! A collection of response types and utilities.
2
3use ::axum::response::{IntoResponse as Ir, Response as R};
4use crate::internals::content_loader::*;
5use axum::body::Body;
6use std::path::Path;
7use core::fmt;
8use crate::*;
9mod builtins;
10
11/// A trait for types that can be converted into a [raw response].
12///
13/// [raw response]: type.RawResponse.html
14pub trait IntoRawResponse: Ir {}
15impl<R: Ir> IntoRawResponse for R {}
16
17/// A type representing a raw response.
18pub type RawResponse<T = Body> = R<T>;
19
20pub use builtins::*;