pub struct Connecting;Expand description
An ongoing connection attempt.
Implementations§
Source§impl Connecting
impl Connecting
Sourcepub async fn await_connection(self) -> Result<Connection>
pub async fn await_connection(self) -> Result<Connection>
Waits for the connection attempt to complete.
Sourcepub async fn into_0rtt(self) -> Result<(Connection, Connection)>
pub async fn into_0rtt(self) -> Result<(Connection, Connection)>
Splits the connecting future into early 0-RTT data and fully confirmed connection.
Auto Trait Implementations§
impl Freeze for Connecting
impl RefUnwindSafe for Connecting
impl Send for Connecting
impl Sync for Connecting
impl Unpin for Connecting
impl UnsafeUnpin for Connecting
impl UnwindSafe for Connecting
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more