[−][src]Struct asparit::ExecutorCallback
Implementations
impl<E, C> ExecutorCallback<E, C>
[src]
Trait Implementations
impl<'a, E, T1, C, I, R> IndexedProducerCallback<'a, I> for ExecutorCallback<E, C> where
E: Executor<'a, T1>,
T1: Send + 'a,
C: Consumer<I, Result = T1, Reducer = R> + 'a,
R: Reducer<T1> + Send + 'a,
[src]
E: Executor<'a, T1>,
T1: Send + 'a,
C: Consumer<I, Result = T1, Reducer = R> + 'a,
R: Reducer<T1> + Send + 'a,
type Output = E::Result
The type of value returned by this callback. Analogous to
Output
from the FnOnce
trait. Read more
pub fn callback<P>(self, producer: P) -> Self::Output where
P: IndexedProducer<Item = I> + 'a,
[src]
P: IndexedProducer<Item = I> + 'a,
impl<'a, E, T1, C, I, R> ProducerCallback<'a, I> for ExecutorCallback<E, C> where
E: Executor<'a, T1>,
T1: Send + 'a,
C: Consumer<I, Result = T1, Reducer = R> + 'a,
R: Reducer<T1> + Send + 'a,
[src]
E: Executor<'a, T1>,
T1: Send + 'a,
C: Consumer<I, Result = T1, Reducer = R> + 'a,
R: Reducer<T1> + Send + 'a,
Auto Trait Implementations
impl<E, C> RefUnwindSafe for ExecutorCallback<E, C> where
C: RefUnwindSafe,
E: RefUnwindSafe,
C: RefUnwindSafe,
E: RefUnwindSafe,
impl<E, C> Send for ExecutorCallback<E, C> where
C: Send,
E: Send,
C: Send,
E: Send,
impl<E, C> Sync for ExecutorCallback<E, C> where
C: Sync,
E: Sync,
C: Sync,
E: Sync,
impl<E, C> Unpin for ExecutorCallback<E, C> where
C: Unpin,
E: Unpin,
C: Unpin,
E: Unpin,
impl<E, C> UnwindSafe for ExecutorCallback<E, C> where
C: UnwindSafe,
E: UnwindSafe,
C: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,