pub(crate) enum User {
Body,
BodyWriteAborted,
Service,
NoUpgrade,
ManualUpgrade,
DispatchGone,
}
Variants§
Body
Error calling user’s Body::poll_data().
BodyWriteAborted
The user aborted writing of the outgoing body.
Service
Error from future of user’s Service.
NoUpgrade
User tried polling for an upgrade that doesn’t exist.
ManualUpgrade
User polled for an upgrade, but low-level API is not using upgrades.
DispatchGone
The dispatch task is gone.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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