[][src]Struct disrustor::WithEventHandlers

pub struct WithEventHandlers<'a, S: Sequencer, W: WaitStrategy, D: DataProvider<T>, T> { /* fields omitted */ }

Methods

impl<'a, S: Sequencer + 'a, W: WaitStrategy, D: DataProvider<T> + 'a, T: Send + 'a> WithEventHandlers<'a, S, W, D, T>[src]

pub fn with_barrier(
    self,
    f: impl FnOnce(&mut BarrierScope<'a, S, D, T>)
) -> Self
[src]

pub fn build(
    self
) -> (impl EventProcessorExecutor<'a>, impl EventProducer<'a, Item = T>)
[src]

pub fn build_with_executor<E: EventProcessorExecutor<'a>>(
    self
) -> (E, impl EventProducer<'a, Item = T>)
[src]

Auto Trait Implementations

impl<'a, S, W, D, T> Unpin for WithEventHandlers<'a, S, W, D, T> where
    S: Unpin,
    T: Unpin,
    W: Unpin

impl<'a, S, W, D, T> Send for WithEventHandlers<'a, S, W, D, T> where
    S: Send,
    T: Send

impl<'a, S, W, D, T> !Sync for WithEventHandlers<'a, S, W, D, T>

impl<'a, S, W, D, T> !RefUnwindSafe for WithEventHandlers<'a, S, W, D, T>

impl<'a, S, W, D, T> !UnwindSafe for WithEventHandlers<'a, S, W, D, 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]