pub struct ZeroRttAccepted(/* private fields */);展开描述
在连接完全建立时完成的 Future
对于客户端,结果值指示 0-RTT 是否被接受。对于服务器,结果值无意义。
trait 实现§
自动 trait 实现§
impl Freeze for ZeroRttAccepted
impl !RefUnwindSafe for ZeroRttAccepted
impl Send for ZeroRttAccepted
impl Sync for ZeroRttAccepted
impl Unpin for ZeroRttAccepted
impl UnsafeUnpin for ZeroRttAccepted
impl !UnwindSafe for ZeroRttAccepted
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. 更多信息