[][src]Struct disrustor::internal::Producer

pub struct Producer<D: DataProvider<T>, T, S: Sequencer> { /* fields omitted */ }

Methods

impl<D: DataProvider<T>, T, S: Sequencer> Producer<D, T, S>[src]

pub fn new(data_provider: Arc<D>, sequencer: S) -> Self[src]

Trait Implementations

impl<'a, D: DataProvider<T> + 'a, T, S: Sequencer + 'a> EventProducer<'a> for Producer<D, T, S>[src]

type Item = T

Auto Trait Implementations

impl<D, T, S> Unpin for Producer<D, T, S> where
    S: Unpin,
    T: Unpin

impl<D, T, S> Send for Producer<D, T, S> where
    S: Send,
    T: Send

impl<D, T, S> Sync for Producer<D, T, S> where
    S: Sync,
    T: Sync

impl<D, T, S> RefUnwindSafe for Producer<D, T, S> where
    D: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<D, T, S> UnwindSafe for Producer<D, T, S> where
    D: RefUnwindSafe,
    S: UnwindSafe,
    T: UnwindSafe

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]