Enum bicoro::DispatchResult
source · [−]pub enum DispatchResult<'a, IA, IB, O, A, B> {
Left {
value: A,
remaining: Coroutine<'a, IB, O, B>,
},
Right {
value: B,
remaining: Coroutine<'a, IA, O, A>,
},
}
Expand description
Represents the result of running the left and right coroutines Returns whichever coroutine finished first
Variants
Left
Right
Auto Trait Implementations
impl<'a, IA, IB, O, A, B> !RefUnwindSafe for DispatchResult<'a, IA, IB, O, A, B>
impl<'a, IA, IB, O, A, B> !Send for DispatchResult<'a, IA, IB, O, A, B>
impl<'a, IA, IB, O, A, B> !Sync for DispatchResult<'a, IA, IB, O, A, B>
impl<'a, IA, IB, O, A, B> Unpin for DispatchResult<'a, IA, IB, O, A, B>where
A: Unpin,
B: Unpin,
O: Unpin,
impl<'a, IA, IB, O, A, B> !UnwindSafe for DispatchResult<'a, IA, IB, O, A, B>
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