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