Struct indicator::async_operator::next::Next
source · pub struct Next<P> { /* private fields */ }
Expand description
Next operator that converts a blocking Operator
into an AsyncOperator
.
Trait Implementations§
source§impl<P, I, O> AsyncOperator<I> for Next<P>where
P: Operator<I, Output = O>,
impl<P, I, O> AsyncOperator<I> for Next<P>where P: Operator<I, Output = O>,
§type Error = Infallible
type Error = Infallible
Error type.
§type Future<'a> = Ready<Result<<Next<P> as AsyncOperator<I>>::Output, <Next<P> as AsyncOperator<I>>::Error>>
where
P: 'a
type Future<'a> = Ready<Result<<Next<P> as AsyncOperator<I>>::Output, <Next<P> as AsyncOperator<I>>::Error>> where P: 'a
The future output value.
impl<P: Copy> Copy for Next<P>
Auto Trait Implementations§
impl<P> RefUnwindSafe for Next<P>where P: RefUnwindSafe,
impl<P> Send for Next<P>where P: Send,
impl<P> Sync for Next<P>where P: Sync,
impl<P> Unpin for Next<P>where P: Unpin,
impl<P> UnwindSafe for Next<P>where P: UnwindSafe,
Blanket Implementations§
source§impl<I, P> AsyncOperatorExt<I> for Pwhere
P: AsyncOperator<I>,
impl<I, P> AsyncOperatorExt<I> for Pwhere P: AsyncOperator<I>,
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