pub struct ExecutorCallback<E, C> { /* private fields */ }Implementations§
Source§impl<E, C> ExecutorCallback<E, C>
impl<E, C> ExecutorCallback<E, C>
Trait Implementations§
Source§impl<'a, E, T1, C, I, R> IndexedProducerCallback<'a, I> for ExecutorCallback<E, C>
impl<'a, E, T1, C, I, R> IndexedProducerCallback<'a, I> for ExecutorCallback<E, C>
Source§type Output = <E as Executor<'a, T1>>::Result
type Output = <E as Executor<'a, T1>>::Result
The type of value returned by this callback. Analogous to
Output from the FnOnce trait.Source§fn callback<P>(self, producer: P) -> Self::Outputwhere
P: IndexedProducer<Item = I> + 'a,
fn callback<P>(self, producer: P) -> Self::Outputwhere
P: IndexedProducer<Item = I> + 'a,
Invokes the callback with the given producer as argument. The
key point of this trait is that this method is generic over
P, and hence implementors must be defined for any producer.Source§impl<'a, E, T1, C, I, R> ProducerCallback<'a, I> for ExecutorCallback<E, C>
impl<'a, E, T1, C, I, R> ProducerCallback<'a, I> for ExecutorCallback<E, C>
Auto Trait Implementations§
impl<E, C> Freeze for ExecutorCallback<E, C>
impl<E, C> RefUnwindSafe for ExecutorCallback<E, C>where
E: RefUnwindSafe,
C: RefUnwindSafe,
impl<E, C> Send for ExecutorCallback<E, C>
impl<E, C> Sync for ExecutorCallback<E, C>
impl<E, C> Unpin for ExecutorCallback<E, C>
impl<E, C> UnwindSafe for ExecutorCallback<E, C>where
E: UnwindSafe,
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more