1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
Appellation: mod <module>
Creator: FL03 <jo3mccain@icloud.com>
Description:
... Summary ...
*/
use crate::{async_trait, AxumServer};
/// Describe a standard api specification to implement on compatible structures
#[async_trait]
pub trait APISpec<App = AxumServer> {
async fn run(&self) -> Result<(), scsys::BoxError>
where
Self: Sized + Sync;
}