pub struct IncomingFuture(/* private fields */);展开描述
一个基础适配器,让 Incoming 能够像 Connecting 一样被 await
trait 实现§
源代码§impl Debug for IncomingFuture
impl Debug for IncomingFuture
源代码§impl Future for IncomingFuture
impl Future for IncomingFuture
自动 trait 实现§
impl !Freeze for IncomingFuture
impl !RefUnwindSafe for IncomingFuture
impl Send for IncomingFuture
impl Sync for IncomingFuture
impl Unpin for IncomingFuture
impl UnsafeUnpin for IncomingFuture
impl !UnwindSafe for IncomingFuture
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<T> Instrument for T
impl<T> Instrument for T
源代码§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
源代码§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
源代码§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. 更多信息