pub enum UpgradeStatus<ReqBody> {
Upgraded(Response<ExclusiveBody>),
NotUpgraded(Request<ReqBody>),
}Variants§
Upgraded(Response<ExclusiveBody>)
NotUpgraded(Request<ReqBody>)
Auto Trait Implementations§
impl<ReqBody> !Freeze for UpgradeStatus<ReqBody>
impl<ReqBody> !RefUnwindSafe for UpgradeStatus<ReqBody>
impl<ReqBody> Send for UpgradeStatus<ReqBody>where
ReqBody: Send,
impl<ReqBody> !Sync for UpgradeStatus<ReqBody>
impl<ReqBody> Unpin for UpgradeStatus<ReqBody>where
ReqBody: Unpin,
impl<ReqBody> !UnwindSafe for UpgradeStatus<ReqBody>
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