[−][src]Struct disrustor::WithEventHandlers
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]
self,
f: impl FnOnce(&mut BarrierScope<'a, S, D, T>)
) -> Self
pub fn build(
self
) -> (impl EventProcessorExecutor<'a>, impl EventProducer<'a, Item = T>)
[src]
self
) -> (impl EventProcessorExecutor<'a>, impl EventProducer<'a, Item = T>)
pub fn build_with_executor<E: EventProcessorExecutor<'a>>(
self
) -> (E, impl EventProducer<'a, Item = T>)
[src]
self
) -> (E, impl EventProducer<'a, Item = T>)
Auto Trait Implementations
impl<'a, S, W, D, T> Unpin for WithEventHandlers<'a, S, W, D, T> where
S: Unpin,
T: Unpin,
W: Unpin,
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,
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,