pub struct Unconstrained<F> { /* 私有字段 */ }展开描述
unconstrained 方法的 future。
trait 实现§
源代码§impl<F> Future for Unconstrained<F>where
F: Future,
impl<F> Future for Unconstrained<F>where
F: Future,
impl<'__pin, F> Unpin for Unconstrained<F>where
PinnedFieldsOf<__Origin<'__pin, F>>: Unpin,
自动 trait 实现§
impl<F> Freeze for Unconstrained<F>where
F: Freeze,
impl<F> RefUnwindSafe for Unconstrained<F>where
F: RefUnwindSafe,
impl<F> Send for Unconstrained<F>where
F: Send,
impl<F> Sync for Unconstrained<F>where
F: Sync,
impl<F> UnsafeUnpin for Unconstrained<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Unconstrained<F>where
F: UnwindSafe,
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. 更多信息
源代码§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
源代码§type IntoFuture = F
type IntoFuture = F
我们将要把此值转变成哪种 future?
源代码§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. 更多信息