pub trait APISpec<App = AxumServer> {
    fn run<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), BoxError>> + Send + 'async_trait>>
    where
        Self: Sized + Sync,
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Describe a standard api specification to implement on compatible structures

Required Methods

Implementors