pub struct Canceled { /* private fields */ }
Expand description
A pending item was dropped before ever being processed.
For example, a Request
could be queued in the Client
, just
as the related connection gets closed by the remote. In that case,
when the connection drops, the pending response future will be
fulfilled with this error, signaling the Request
was never started.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Canceled
impl !RefUnwindSafe for Canceled
impl Send for Canceled
impl Sync for Canceled
impl Unpin for Canceled
impl !UnwindSafe for Canceled
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