enum StartedHandshake<Role: HandshakeRole> {
Done(Role::FinalResult),
Mid(MidHandshake<Role>),
}
Variants§
Done(Role::FinalResult)
Mid(MidHandshake<Role>)
Auto Trait Implementations§
impl<Role> Freeze for StartedHandshake<Role>where
<Role as HandshakeRole>::FinalResult: Freeze,
Role: Freeze,
<Role as HandshakeRole>::InternalStream: Freeze,
impl<Role> RefUnwindSafe for StartedHandshake<Role>where
<Role as HandshakeRole>::FinalResult: RefUnwindSafe,
Role: RefUnwindSafe,
<Role as HandshakeRole>::InternalStream: RefUnwindSafe,
impl<Role> Send for StartedHandshake<Role>where
<Role as HandshakeRole>::FinalResult: Send,
Role: Send,
<Role as HandshakeRole>::InternalStream: Send,
impl<Role> Sync for StartedHandshake<Role>where
<Role as HandshakeRole>::FinalResult: Sync,
Role: Sync,
<Role as HandshakeRole>::InternalStream: Sync,
impl<Role> Unpin for StartedHandshake<Role>where
<Role as HandshakeRole>::FinalResult: Unpin,
Role: Unpin,
<Role as HandshakeRole>::InternalStream: Unpin,
impl<Role> UnwindSafe for StartedHandshake<Role>where
<Role as HandshakeRole>::FinalResult: UnwindSafe,
Role: UnwindSafe,
<Role as HandshakeRole>::InternalStream: UnwindSafe,
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