pub enum Drive<'d, B: Build<'d>, O: Origin = Stored> {
NeedInput(Stream<'d, B, O>),
Pending(Stream<'d, B, O>),
Ready(Ready<'d, B, O>),
Failed {
stream: Stream<'d, B, O>,
error: Error<B::StepError>,
},
Rejected {
stream: Stream<'d, B, O>,
error: Error,
},
}Expand description
The exact owner produced by one cooperative construction and admission turn.
Variants§
Auto Trait Implementations§
impl<'d, B, O> Forget for Drive<'d, B, O>
impl<'d, B, O> Freeze for Drive<'d, B, O>
impl<'d, B, O> RefUnwindSafe for Drive<'d, B, O>where
Stream<'d, B, O>: RefUnwindSafe,
Ready<'d, B, O>: RefUnwindSafe,
Error<<B as Build<'d>>::StepError>: RefUnwindSafe,
impl<'d, B, O> Send for Drive<'d, B, O>
impl<'d, B, O> Sync for Drive<'d, B, O>
impl<'d, B, O> Unpin for Drive<'d, B, O>
impl<'d, B, O> UnsafeUnpin for Drive<'d, B, O>where
Stream<'d, B, O>: UnsafeUnpin,
Ready<'d, B, O>: UnsafeUnpin,
Error<<B as Build<'d>>::StepError>: UnsafeUnpin,
impl<'d, B, O> UnwindSafe for Drive<'d, B, O>where
Stream<'d, B, O>: UnwindSafe,
Ready<'d, B, O>: UnwindSafe,
Error<<B as Build<'d>>::StepError>: 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