pub struct Accept<'a> { /* private fields */ }展开描述
由 Endpoint::accept 产生的 Future
trait 实现§
impl<'__pin, 'a> Unpin for Accept<'a>where
PinnedFieldsOf<__Origin<'__pin, 'a>>: Unpin,
自动 trait 实现§
impl<'a> !Freeze for Accept<'a>
impl<'a> !RefUnwindSafe for Accept<'a>
impl<'a> Send for Accept<'a>
impl<'a> Sync for Accept<'a>
impl<'a> !UnsafeUnpin for Accept<'a>
impl<'a> !UnwindSafe for Accept<'a>
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
Which kind of future are we turning this into?
源代码§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. 更多信息