Struct tokio_interceptor::App [−][src]
pub struct App<State> { /* fields omitted */ }
Methods
impl<State> App<State> where
State: 'static + Default,
[src]
impl<State> App<State> where
State: 'static + Default,
pub fn new(handle: Handle) -> App<State>
[src]
pub fn new(handle: Handle) -> App<State>
pub fn default_interceptors(&self) -> Vec<Box<Interceptor<Error = ()>>>
[src]
pub fn default_interceptors(&self) -> Vec<Box<Interceptor<Error = ()>>>
pub fn register_event<E: 'static + Event<()>>(&mut self)
[src]
pub fn register_event<E: 'static + Event<()>>(&mut self)
pub fn register_event_with<E: 'static + Event<()>>(
&mut self,
interceptors: Vec<Box<Interceptor<Error = ()>>>
)
[src]
pub fn register_event_with<E: 'static + Event<()>>(
&mut self,
interceptors: Vec<Box<Interceptor<Error = ()>>>
)
pub fn dispatch<E: 'static + Event<()>>(
&mut self,
e: E
) -> impl Future
[src]
pub fn dispatch<E: 'static + Event<()>>(
&mut self,
e: E
) -> impl Future