IActixHandlersExt

Trait IActixHandlersExt 

Source
pub trait IActixHandlersExt<T>
where T: ServiceFactory<ServiceRequest, Config = (), Error = Error, InitError = ()>,
{ // Required methods fn add_botx_api_handlers(self) -> App<T>; fn add_smartapp_static_files(self, _: impl Into<PathBuf>) -> App<T>; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> IActixHandlersExt<T> for App<T>
where T: ServiceFactory<ServiceRequest, Config = (), Error = Error, InitError = ()>,

Source§

fn add_botx_api_handlers(self) -> App<T>

Source§

fn add_smartapp_static_files( self, static_files_path: impl Into<PathBuf>, ) -> App<T>

Implementors§