Struct tokio_interceptor::EventDispatcher [−][src]
pub struct EventDispatcher<E> { /* fields omitted */ }
Methods
impl<E: 'static> EventDispatcher<E>
[src]
impl<E: 'static> EventDispatcher<E>
pub fn new() -> EventDispatcher<E>
[src]
pub fn new() -> EventDispatcher<E>
pub fn register_event<Ev: 'static + Event<E>>(
&mut self,
interceptors: Vec<Box<Interceptor<Error = E>>>
)
[src]
pub fn register_event<Ev: 'static + Event<E>>(
&mut self,
interceptors: Vec<Box<Interceptor<Error = E>>>
)
pub fn dispatch<Ev: 'static + Event<E>>(
&self,
event: Ev
) -> impl Future<Item = Context<E>>
[src]
pub fn dispatch<Ev: 'static + Event<E>>(
&self,
event: Ev
) -> impl Future<Item = Context<E>>
Auto Trait Implementations
impl<E> !Send for EventDispatcher<E>
impl<E> !Send for EventDispatcher<E>
impl<E> !Sync for EventDispatcher<E>
impl<E> !Sync for EventDispatcher<E>