Skip to main content

ApiModule

Trait ApiModule 

Source
pub trait ApiModule: Module {
    // Required method
    fn router(&self, ctx: Arc<dyn AppContext>) -> Router;
}
Available on crate feature core only.

Required Methods§

Source

fn router(&self, ctx: Arc<dyn AppContext>) -> Router

Implementors§