Enum hyper::proto::Dispatched
source · pub(crate) enum Dispatched {
Shutdown,
Upgrade(Pending),
}
Expand description
Status of when a Dispatcher future completes.
Variants§
Shutdown
Dispatcher completely shutdown connection.
Upgrade(Pending)
Dispatcher has pending upgrade, and so did not shutdown.
Auto Trait Implementations§
impl Freeze for Dispatched
impl !RefUnwindSafe for Dispatched
impl Send for Dispatched
impl Sync for Dispatched
impl Unpin for Dispatched
impl !UnwindSafe for Dispatched
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