#[repr(C)]pub(super) enum Stage<T: Future> {
Running(T),
Finished(Result<T::Output, JoinError>),
Consumed,
}
Expand description
Either the future or the output.
Variants§
Auto Trait Implementations§
impl<T> Freeze for Stage<T>
impl<T> !RefUnwindSafe for Stage<T>
impl<T> Send for Stage<T>
impl<T> Sync for Stage<T>
impl<T> Unpin for Stage<T>
impl<T> !UnwindSafe for Stage<T>
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