pub enum ResponseBodyOutcome {
Complete,
StreamError,
DeliveryCancelled,
Shutdown,
Aborted,
}Expand description
Why a response body stopped producing bytes.
Variants§
Complete
StreamError
DeliveryCancelled
A network-owned body was dropped before EOF without server shutdown. This normally means a client disconnect or transport cancellation.
Shutdown
Aborted
Implementations§
Trait Implementations§
Source§impl Clone for ResponseBodyOutcome
impl Clone for ResponseBodyOutcome
impl Copy for ResponseBodyOutcome
Source§impl Debug for ResponseBodyOutcome
impl Debug for ResponseBodyOutcome
impl Eq for ResponseBodyOutcome
Source§impl PartialEq for ResponseBodyOutcome
impl PartialEq for ResponseBodyOutcome
impl StructuralPartialEq for ResponseBodyOutcome
Auto Trait Implementations§
impl Freeze for ResponseBodyOutcome
impl RefUnwindSafe for ResponseBodyOutcome
impl Send for ResponseBodyOutcome
impl Sync for ResponseBodyOutcome
impl Unpin for ResponseBodyOutcome
impl UnsafeUnpin for ResponseBodyOutcome
impl UnwindSafe for ResponseBodyOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.