pub struct Unscheduled<F>(/* private fields */);Expand description
A future that spawn_detached could not schedule, returned unpolled.
Implementations§
Source§impl<F> Unscheduled<F>
impl<F> Unscheduled<F>
Sourcepub fn into_inner(self) -> F
pub fn into_inner(self) -> F
Recover the future; it has never been polled.
Trait Implementations§
Auto Trait Implementations§
impl<F> Forget for Unscheduled<F>
impl<F> Freeze for Unscheduled<F>where
F: Freeze,
impl<F> RefUnwindSafe for Unscheduled<F>where
F: RefUnwindSafe,
impl<F> Send for Unscheduled<F>where
F: Send,
impl<F> Sync for Unscheduled<F>where
F: Sync,
impl<F> Unpin for Unscheduled<F>where
F: Unpin,
impl<F> UnsafeUnpin for Unscheduled<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Unscheduled<F>where
F: 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