Enum bicoro::executor::IteratorExecutorResult
source · [−]pub enum IteratorExecutorResult<'a, It, Input, Output, Result> {
Completed {
result: Result,
remaining: It,
},
Output {
output: Output,
co: Coroutine<'a, Input, Output, Result>,
remaining: It,
},
Exhausted {
co: Box<dyn FnOnce(Input) -> Coroutine<'a, Input, Output, Result> + 'a>,
},
}
Variants
Completed
The coroutine has finished
Output
Exhausted
We ran out of inputs, returns a coroutine to continue when more inputs are available
Auto Trait Implementations
impl<'a, It, Input, Output, Result> !RefUnwindSafe for IteratorExecutorResult<'a, It, Input, Output, Result>
impl<'a, It, Input, Output, Result> !Send for IteratorExecutorResult<'a, It, Input, Output, Result>
impl<'a, It, Input, Output, Result> !Sync for IteratorExecutorResult<'a, It, Input, Output, Result>
impl<'a, It, Input, Output, Result> Unpin for IteratorExecutorResult<'a, It, Input, Output, Result>where
It: Unpin,
Output: Unpin,
Result: Unpin,
impl<'a, It, Input, Output, Result> !UnwindSafe for IteratorExecutorResult<'a, It, Input, Output, Result>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more