pub struct SendDatagram<'a> { /* private fields */ }展开描述
由 Connection::send_datagram_wait 产生的 Future
trait 实现§
源代码§impl Future for SendDatagram<'_>
impl Future for SendDatagram<'_>
impl<'__pin, 'a> Unpin for SendDatagram<'a>where
PinnedFieldsOf<__Origin<'__pin, 'a>>: Unpin,
自动 trait 实现§
impl<'a> !Freeze for SendDatagram<'a>
impl<'a> !RefUnwindSafe for SendDatagram<'a>
impl<'a> Send for SendDatagram<'a>
impl<'a> Sync for SendDatagram<'a>
impl<'a> !UnsafeUnpin for SendDatagram<'a>
impl<'a> !UnwindSafe for SendDatagram<'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. 更多信息