pub enum ControlTransition {
Upgraded(ControlModeUpgrade),
Rejected(Response),
}Expand description
The explicit result of requesting a control-mode upgrade.
Variants§
Upgraded(ControlModeUpgrade)
The server accepted the control-mode request and switched protocols.
Rejected(Response)
The server responded without switching protocols.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ControlTransition
impl RefUnwindSafe for ControlTransition
impl Send for ControlTransition
impl Sync for ControlTransition
impl Unpin for ControlTransition
impl UnsafeUnpin for ControlTransition
impl UnwindSafe for ControlTransition
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