[][src]Struct event_stream::EventDispatcherBuilder

pub struct EventDispatcherBuilder<T> { /* fields omitted */ }

Methods

impl<T> EventDispatcherBuilder<T> where
    T: Sync + Send + Sized
[src]

pub fn new() -> Self[src]

pub fn add_listener(
    self,
    listener: Arc<dyn EventListener<T> + Send + Sync>
) -> Self
[src]

pub fn build(self) -> EventDispatcher<T>[src]

Auto Trait Implementations

impl<T> Sync for EventDispatcherBuilder<T> where
    T: Send

impl<T> Send for EventDispatcherBuilder<T> where
    T: Send

impl<T> Unpin for EventDispatcherBuilder<T> where
    T: Unpin

impl<T> !RefUnwindSafe for EventDispatcherBuilder<T>

impl<T> !UnwindSafe for EventDispatcherBuilder<T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]