pub struct Upgrade(/* private fields */);Expand description
(G7d) what takes over a connection after 101 Switching Protocols (a WebSocket): runs once on
a thread of the server’s own, with the connection
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Upgrade
impl !Sync for Upgrade
impl !UnwindSafe for Upgrade
impl Forget for Upgrade
impl Freeze for Upgrade
impl Move for Upgrade
impl Send for Upgrade
impl Unpin for Upgrade
impl UnsafeUnpin for Upgradewhere
*const dyn FnOnce(Upgraded) + Send is !null: UnsafeUnpin,
PhantomData<dyn FnOnce(Upgraded) + Send>: UnsafeUnpin,
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