pub struct OpenUni<'a> { /* private fields */ }展开描述
由 Connection::open_uni 产生的 Future
trait 实现§
impl<'__pin, 'a> Unpin for OpenUni<'a>where
PinnedFieldsOf<__Origin<'__pin, 'a>>: Unpin,
自动 trait 实现§
impl<'a> !Freeze for OpenUni<'a>
impl<'a> !RefUnwindSafe for OpenUni<'a>
impl<'a> Send for OpenUni<'a>
impl<'a> Sync for OpenUni<'a>
impl<'a> !UnsafeUnpin for OpenUni<'a>
impl<'a> !UnwindSafe for OpenUni<'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
我们将要把此值转变成哪种 future?
源代码§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. 更多信息